开锁动画优化
This commit is contained in:
parent
08b71afe96
commit
cf92d6d34c
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 45 KiB |
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user