DialogOptions constructor
const
DialogOptions({
- bool barrierDismissible = true,
- RouteSettings? routeSettings,
- Color barrierColor = kCupertinoModalBarrierColor,
- Offset? anchorPoint,
- String barrierLabel = '',
- bool useSafeArea = true,
- double? startOffset,
- RouteTransitionsBuilder? transitionBuilder,
- Duration transitionDuration = const Duration(milliseconds: 200),
- PopupFromStyle fromStyle = PopupFromStyle.fromCenter,
Implementation
const DialogOptions({
super.barrierDismissible,
super.useRootNavigator,
super.routeSettings,
super.barrierColor,
super.anchorPoint,
this.barrierLabel = '',
this.useSafeArea = true,
this.startOffset,
this.transitionBuilder,
this.transitionDuration = const Duration(milliseconds: 200),
this.fromStyle = PopupFromStyle.fromCenter,
});