DialogWidget<ResultType> constructor
DialogWidget<ResultType> ({
- Key? key,
- NavAni animation = NavAni.Fade,
- Color barrierColor = Colors.black54,
- bool barrierDismissible = true,
- String? barrierLabel,
- bool? useSafeArea,
- Offset? anchorPoint,
- RouteSettings? routeSettings,
- 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;