ProgressDialog constructor
ProgressDialog({
- required BuildContext 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 BuildContext context, bool? useRootNavigator})
: _context = context,
_useRootNavigator = useRootNavigator ?? true;