ProgressDialog constructor

ProgressDialog({
  1. required dynamic context,
  2. bool? useRootNavigator,
})

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;
}