defaultAnimationController function

AnimationController defaultAnimationController(
  1. TickerProvider vsync, {
  2. double? value,
})

Builds a defaultDuration animation controller.

This is the standard duration to use for animations.

Implementation

AnimationController defaultAnimationController(
  TickerProvider vsync, {
  double? value,
}) {
  return AnimationController(
    duration: defaultDuration,
    vsync: vsync,
    value: value,
  );
}