AnimationControllerSwipeHandler constructor

AnimationControllerSwipeHandler({
  1. required AnimationController controller,
  2. required ValueGetter<double> getChildSize,
  3. double openProgressThreshold = kSwipeProgressThreshold,
  4. double closeProgressThreshold = kSwipeProgressThreshold,
  5. double minOpenFlingVelocity = kSwipeFlingVelocity,
  6. double minCloseFlingVelocity = kSwipeFlingVelocity,
  7. bool reverse = false,
  8. ValueGetter<bool>? isDeactivated,
  9. required DragDirection direction,
  10. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})

Implementation

AnimationControllerSwipeHandler({
  required this.controller,
  required this.getChildSize,
  this.openProgressThreshold = kSwipeProgressThreshold,
  this.closeProgressThreshold = kSwipeProgressThreshold,
  this.minOpenFlingVelocity = kSwipeFlingVelocity,
  this.minCloseFlingVelocity = kSwipeFlingVelocity,
  this.reverse = false,
  ValueGetter<bool>? isDeactivated,
  required DragDirection direction,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})  : _isDeactivated = isDeactivated,
      super(direction: direction, dragStartBehavior: dragStartBehavior);