ProgressDialog class

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close({int? delay = 0}) → void
close Closes the progress dialog.
isOpen() bool
isOpen Returns whether the dialog box is open.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show({int max = 100, String msg = "Default Message", Completed? completed, Cancel? cancel, ProgressType progressType = ProgressType.normal, ValuePosition valuePosition = ValuePosition.right, Color backgroundColor = Colors.white, Color? surfaceTintColor, Color barrierColor = Colors.transparent, Color progressValueColor = Colors.blueAccent, Color progressBgColor = Colors.blueGrey, Color valueColor = Colors.black87, Color msgColor = Colors.black87, TextAlign msgTextAlign = TextAlign.center, FontWeight msgFontWeight = FontWeight.bold, FontWeight valueFontWeight = FontWeight.normal, double valueFontSize = 15.0, double msgFontSize = 17.0, int msgMaxLines = 1, double elevation = 5.0, double borderRadius = 15.0, bool barrierDismissible = false, bool hideValue = false, int closeWithDelay = 100, ValueChanged<DialogStatus>? onStatusChanged}) → dynamic
max Assign the maximum value of the upload. @required msg Show a message @required valuePosition Location of progress value @not required progressType Assign the progress bar type. barrierDismissible Determines whether the dialog closes when the back button or screen is clicked. msgMaxLines Use when text value doesn't fit completed Widgets that will be displayed when the process is completed are assigned through this class. cancel Use it to have a close button on the dialog. hideValue If you are not using the progress value, you can hide it. closeWithDelay The time the dialog window will wait to close
toString() String
A string representation of this object.
inherited
update({int? value, String? msg}) → void
update Pass the new value to this method to update the status.

Operators

operator ==(Object other) bool
The equality operator.
inherited