createAnimationController static method Null safety

AnimationController createAnimationController(
  1. TickerProvider vsync
)

Creates an animation controller suitable for controlling a RoundedBottomSheet.

Implementation

static AnimationController createAnimationController(TickerProvider vsync) {
  return AnimationController(
    duration: _kRoundedBottomSheetDuration,
    debugLabel: 'RoundedBottomSheet',
    vsync: vsync,
  );
}