RawDialogRoute<T> constructor
- required RoutePageBuilder pageBuilder,
- bool barrierDismissible = true,
- Color? barrierColor = const Color(0x80000000),
- String? barrierLabel,
- Duration transitionDuration = const Duration(milliseconds: 200),
- RouteTransitionsBuilder? transitionBuilder,
- RouteSettings? settings,
- bool? requestFocus,
- Offset? anchorPoint,
- TraversalEdgeBehavior? traversalEdgeBehavior,
A general dialog route which allows for customization of the dialog popup.
Implementation
RawDialogRoute({
required RoutePageBuilder pageBuilder,
bool barrierDismissible = true,
Color? barrierColor = const Color(0x80000000),
String? barrierLabel,
Duration transitionDuration = const Duration(milliseconds: 200),
RouteTransitionsBuilder? transitionBuilder,
super.settings,
super.requestFocus,
this.anchorPoint,
super.traversalEdgeBehavior,
}) : _pageBuilder = pageBuilder,
_barrierDismissible = barrierDismissible,
_barrierLabel = barrierLabel,
_barrierColor = barrierColor,
_transitionDuration = transitionDuration,
_transitionBuilder = transitionBuilder;