update example project with stopAnimation

This commit is contained in:
Nick Fisher
2022-08-19 21:50:28 +08:00
parent efce043a5f
commit 3152ac6dbe

View File

@@ -139,7 +139,7 @@ class _MyAppState extends State<MyApp> {
loop: _loop); loop: _loop);
break; break;
case 10: case 10:
_filamentController.stopAnimation(_cube!); _filamentController.stopAnimation(_cube!, 0);
break; break;
case 11: case 11:
setState(() { setState(() {