ProgressDialog constructor
ProgressDialog({
- required dynamic context,
Creates a progress dialog with the given build context.
context
- Required build context for showing the dialog
useRootNavigator
- Whether to show in root navigator. Defaults to true
Implementation
ProgressDialog({required context, bool? useRootNavigator}) {
this._context = context;
this._useRootNavigator = useRootNavigator ?? true;
}