SwipeablePage<T> constructor
SwipeablePage<T> ({
- bool canSwipe = true,
- bool canOnlySwipeFromEdge = false,
- double backGestureDetectionWidth = kMinInteractiveDimension,
- double backGestureDetectionStartOffset = 0.0,
- Duration? transitionDuration,
- Duration? reverseTransitionDuration,
- SwipeableTransitionBuilder? transitionBuilder,
- String? title,
- LocalKey? key,
- String? name,
- Object? arguments,
- String? restorationId,
- bool maintainState = true,
- bool fullscreenDialog = false,
- bool allowSnapshotting = true,
- required WidgetBuilder builder,
Implementation
SwipeablePage({
this.canSwipe = true,
this.canOnlySwipeFromEdge = false,
this.backGestureDetectionWidth = kMinInteractiveDimension,
this.backGestureDetectionStartOffset = 0.0,
this.transitionDuration,
this.reverseTransitionDuration,
SwipeableTransitionBuilder? transitionBuilder,
this.title,
super.key,
super.name,
super.arguments,
super.restorationId,
this.maintainState = true,
this.fullscreenDialog = false,
this.allowSnapshotting = true,
required this.builder,
}) : transitionBuilder = transitionBuilder ??
SwipeablePageRoute._defaultTransitionBuilder(fullscreenDialog);