PageDragger constructor

PageDragger({
  1. required double horizontalReveal,
  2. required Widget child,
  3. SlideDirection? slideDirection,
  4. required Size iconSize,
  5. required WaveType waveType,
  6. required double verticalReveal,
  7. required bool enableSideReveal,
  8. required bool preferDragFromRevealedArea,
  9. double fullTransitionPX = FULL_TRANSITION_PX,
  10. Widget? slideIconWidget,
  11. double? iconPosition,
  12. bool ignoreUserGestureWhileAnimating = false,
})

Constructor with some default values

Implementation

PageDragger({
  required this.horizontalReveal,
  required this.child,
  this.slideDirection,
  required this.iconSize,
  required this.waveType,
  required this.verticalReveal,
  required this.enableSideReveal,
  required this.preferDragFromRevealedArea,
  this.fullTransitionPX = FULL_TRANSITION_PX,
  this.slideIconWidget,
  this.iconPosition,
  this.ignoreUserGestureWhileAnimating = false,
});