开锁动画优化

This commit is contained in:
Daisy 2024-01-04 16:43:27 +08:00
parent 08b71afe96
commit cf92d6d34c
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -449,7 +449,7 @@ class _LockDetailPageState extends State<LockDetailPage> with TickerProviderStat
listeningAnimations() async {
await Future.delayed(Duration.zero, () {
state.animationController = AnimationController(
duration: const Duration(seconds: 20), vsync: this);
duration: const Duration(seconds: 1), vsync: this);
state.animationController.repeat();
//StatusListener
state.animationController.addStatusListener((status) {