RawDialogRoute<T> constructor

RawDialogRoute<T>({
  1. required RoutePageBuilder pageBuilder,
  2. bool barrierDismissible = true,
  3. Color? barrierColor = const Color(0x80000000),
  4. String? barrierLabel,
  5. Duration transitionDuration = const Duration(milliseconds: 200),
  6. RouteTransitionsBuilder? transitionBuilder,
  7. RouteSettings? settings,
  8. Offset? anchorPoint,
  9. 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,
  this.anchorPoint,
  super.traversalEdgeBehavior,
}) : _pageBuilder = pageBuilder,
     _barrierDismissible = barrierDismissible,
     _barrierLabel = barrierLabel,
     _barrierColor = barrierColor,
     _transitionDuration = transitionDuration,
     _transitionBuilder = transitionBuilder;