ProgressDialog class
Simple progress dialog, use Dialog Widget to custom it
Constructors
- ProgressDialog(BuildContext context, {Widget? child, bool dismissible = false})
Properties
- child ↔ Widget?
-
The (optional) default progress widget that are displayed before message of the dialog,
it will replaced when you use setChild, and it will restored if you
setChild(null)
.getter/setter pair - context → BuildContext
-
The context
final
- dismissible ↔ bool
-
dialog dismiss when click outside
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isShowed → bool
-
dialog showed or not
no setter
- pdContext ↔ BuildContext?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dismiss(
) → void - Dismiss progress dialog
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setChild(
Widget child) → void - You can set widget of dialog using this function, even the dialog already pop up. Set it Null to change it as default CircularProgressIndicator that already you set before
-
setDismissible(
bool dismissible) → void -
show(
) → void - Show progress dialog
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited