BuildContextLifecycleWithControllerExt extension
- on
Methods
-
withLifecycleAnimationController(
{double? value, Duration? duration, Duration? reverseDuration, String? debugLabel, double lowerBound = 0.0, double upperBound = 1.0, AnimationBehavior animationBehavior = AnimationBehavior.normal, Object? key}) → AnimationController -
Available on BuildContext, provided by the BuildContextLifecycleWithControllerExt extension
动画控制器 -
withLifecycleAnimationControllerUnbounded(
{double value = 0.0, Duration? duration, Duration? reverseDuration, String? debugLabel, AnimationBehavior animationBehavior = AnimationBehavior.normal, Object? key}) → AnimationController -
Available on BuildContext, provided by the BuildContextLifecycleWithControllerExt extension
动画控制器 -
withLifecycleTabController(
{int initialIndex = 0, Duration? animationDuration, required int length, Object? key}) → TabController -
Available on BuildContext, provided by the BuildContextLifecycleWithControllerExt extension
获取可用的TabController