showProgressDialog<T> function
Future<T?>
showProgressDialog<T>({
- required BuildContext context,
- required ProgressManagerInterface progressManager,
- bool barrierDismissible = false,
- Color? barrierColor,
- String? barrierLabel,
- bool useSafeArea = true,
- RouteSettings? routeSettings,
- Offset? anchorPoint,
- TraversalEdgeBehavior? traversalEdgeBehavior,
- bool? requestFocus,
- AnimationStyle? animationStyle,
Implementation
Future<T?> showProgressDialog<T>({
required BuildContext context,
required ProgressManagerInterface progressManager,
bool barrierDismissible = false,
Color? barrierColor,
String? barrierLabel,
bool useSafeArea = true,
bool useRootNavigator = true,
RouteSettings? routeSettings,
Offset? anchorPoint,
TraversalEdgeBehavior? traversalEdgeBehavior,
bool? requestFocus,
AnimationStyle? animationStyle,
}) {
return showAdaptiveDialog<T>(
barrierDismissible: barrierDismissible,
context: context,
barrierColor: barrierColor,
barrierLabel: barrierLabel,
useSafeArea: useSafeArea,
useRootNavigator: useRootNavigator,
routeSettings: routeSettings,
anchorPoint: anchorPoint,
traversalEdgeBehavior: traversalEdgeBehavior,
requestFocus: requestFocus,
animationStyle: animationStyle,
builder: (context) => ProgressDialog(progressManager: progressManager),
);
}