createAnimationController method

AnimationController createAnimationController (TickerProvider vsync)

Creates an animation controller suitable for controlling a BottomSheet.

Implementation

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