CustomSlidableController constructor
CustomSlidableController(
- TickerProvider vsync
Creates a CustomSlidableController.
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);
}