createAnimationController method
Creates an animation controller suitable for controlling a BottomSheet.
Implementation
static AnimationController createAnimationController(TickerProvider vsync) {
return AnimationController(
duration: _kBottomSheetDuration,
debugLabel: 'BottomSheet',
vsync: vsync,
);
}