createAnimationController static method

AnimationController createAnimationController(
  1. TickerProvider vsync
)

Creates an animation controller suitable for controlling a SlidingUpPanelWidget.

Implementation

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