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