DialogRoute<T> constructor
DialogRoute<T> ({
- required RouteWidgetBuilder builder,
- bool barrierDismissible = true,
- Color? barrierColor,
- String? barrierLabel,
- bool useSafeArea = true,
- Alignment alignment = Alignment.center,
- num? width,
- num? height,
- AnimationStyle? animationStyle,
- Theme? capturedTheme,
- 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,
});