CustomSlidableController constructor

CustomSlidableController(
  1. TickerProvider vsync
)

Implementation

CustomSlidableController(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);
}