DialogOptions constructor

const DialogOptions({
  1. bool barrierDismissible = true,
  2. bool useRootNavigator = true,
  3. RouteSettings? routeSettings,
  4. Color barrierColor = kCupertinoModalBarrierColor,
  5. Offset? anchorPoint,
  6. String barrierLabel = '',
  7. bool useSafeArea = true,
  8. double? startOffset,
  9. RouteTransitionsBuilder? transitionBuilder,
  10. Duration transitionDuration = const Duration(milliseconds: 200),
  11. 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,
});