animationController method

  1. @override
AnimationController animationController({
  1. double? value,
  2. Duration? duration,
  3. Duration? reverseDuration,
  4. String? debugLabel,
  5. double lowerBound = 0.0,
  6. double upperBound = 1.0,
  7. AnimationBehavior animationBehavior = AnimationBehavior.normal,
  8. required TickerProvider vsync,
})
override

Implementation

@override
AnimationController animationController({
  double? value,
  Duration? duration,
  Duration? reverseDuration,
  String? debugLabel,
  double lowerBound = 0.0,
  double upperBound = 1.0,
  AnimationBehavior animationBehavior = AnimationBehavior.normal,
  required TickerProvider vsync,
}) {
  final controller = AnimationController(
    value: value,
    duration: duration,
    reverseDuration: reverseDuration,
    debugLabel: debugLabel,
    lowerBound: lowerBound,
    upperBound: upperBound,
    animationBehavior: animationBehavior,
    vsync: vsync,
  );
  onDispose(controller.dispose);
  return controller;
}