DialogRoute<T> constructor

DialogRoute<T>({
  1. required RouteWidgetBuilder builder,
  2. bool barrierDismissible = true,
  3. Color? barrierColor,
  4. String? barrierLabel,
  5. bool useSafeArea = true,
  6. Alignment alignment = Alignment.center,
  7. num? width,
  8. num? height,
  9. AnimationStyle? animationStyle,
  10. Theme? capturedTheme,
  11. RouteSettings? settings,
})

Creates a dialog route.

Implementation

DialogRoute({
  required this.builder,
  this.barrierDismissible = true,
  this.barrierColor,
  this.barrierLabel,
  this.useSafeArea = true,
  this.alignment = Alignment.center,
  this.width,
  this.height,
  this.animationStyle,
  this.capturedTheme,
  super.settings,
});