DialogWidget<ResultType> constructor

DialogWidget<ResultType>({
  1. Key? key,
  2. NavAni animation = NavAni.Fade,
  3. Color barrierColor = Colors.black54,
  4. bool barrierDismissible = true,
  5. String? barrierLabel,
  6. bool? useRootNavigator,
  7. bool? useSafeArea,
  8. Offset? anchorPoint,
  9. RouteSettings? routeSettings,
  10. BuildContext? context,
})

Implementation

DialogWidget({
  super.key,
  this.animation = NavAni.Fade,
  this.barrierColor = Colors.black54,
  this.barrierDismissible = true,
  this.barrierLabel,
  bool? useRootNavigator,
  bool? useSafeArea,
  this.anchorPoint,
  this.routeSettings,
  this.context,
})  : useRootNavigator =
          useRootNavigator ?? Nav.navSetting?.useRootNavigator ?? true,
      useSafeArea = useRootNavigator ?? Nav.navSetting?.useSafeArea ?? false;