SingleAxisDismissiblePage constructor

const SingleAxisDismissiblePage({
  1. required Widget child,
  2. required VoidCallback onDismissed,
  3. required bool isFullScreen,
  4. required Color backgroundColor,
  5. required DismissiblePageDismissDirection direction,
  6. required Map<DismissiblePageDismissDirection, double> dismissThresholds,
  7. required DragStartBehavior dragStartBehavior,
  8. required double dragSensitivity,
  9. required double minRadius,
  10. required double minScale,
  11. required double maxRadius,
  12. required double maxTransformValue,
  13. required double startingOpacity,
  14. required VoidCallback? onDragStart,
  15. required VoidCallback? onDragEnd,
  16. required ValueChanged<DismissiblePageDragUpdateDetails>? onDragUpdate,
  17. required Duration reverseDuration,
  18. required HitTestBehavior hitTestBehavior,
  19. required EdgeInsetsGeometry contentPadding,
  20. Key? key,
})

Implementation

const SingleAxisDismissiblePage({
  required this.child,
  required this.onDismissed,
  required this.isFullScreen,
  required this.backgroundColor,
  required this.direction,
  required this.dismissThresholds,
  required this.dragStartBehavior,
  required this.dragSensitivity,
  required this.minRadius,
  required this.minScale,
  required this.maxRadius,
  required this.maxTransformValue,
  required this.startingOpacity,
  required this.onDragStart,
  required this.onDragEnd,
  required this.onDragUpdate,
  required this.reverseDuration,
  required this.hitTestBehavior,
  required this.contentPadding,
  Key? key,
}) : super(key: key);