SlidableController constructor

SlidableController(
  1. TickerProvider vsync
)

Creates a SlidableController.

Implementation

SlidableController(TickerProvider vsync)
    : _animationController = AnimationController(vsync: vsync),
      endGesture = ValueNotifier(null),
      _dismissGesture = _ValueNotifier(null),
      resizeRequest = ValueNotifier(null),
      actionPaneType = ValueNotifier(ActionPaneType.none),
      direction = ValueNotifier(0) {
  direction.addListener(_onDirectionChanged);
}