withLifecycleAnimationControllerUnbounded method
动画控制器
Implementation
AnimationController withLifecycleAnimationControllerUnbounded({
double value = 0.0,
Duration? duration,
Duration? reverseDuration,
String? debugLabel,
AnimationBehavior animationBehavior = AnimationBehavior.normal,
Object? key,
}) {
return withLifecycleExtData<AnimationController>(
factory2: (l) => AnimationController.unbounded(
value: value,
duration: duration,
reverseDuration: reverseDuration,
debugLabel: debugLabel,
animationBehavior: animationBehavior,
vsync: l.tickerProvider,
),
key: FlexibleKey(AnimationController, 'Unbounded', value, duration,
reverseDuration, animationBehavior, key));
}