DialogOptions.material constructor

const DialogOptions.material({
  1. bool barrierDismissible = true,
  2. bool useRootNavigator = true,
  3. RouteSettings? routeSettings,
  4. Offset? anchorPoint,
  5. String barrierLabel = '',
  6. 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);