createAnimationController static method
- required TickerProvider vsync,
Creates an animation controller useful for driving a MaterialBanner's entrance and exit animation.
Implementation
static AnimationController createAnimationController({ required TickerProvider vsync }) {
return AnimationController(
duration: _materialBannerTransitionDuration,
debugLabel: 'MaterialBanner',
vsync: vsync,
);
}