UIDialog class
Show dialog.
UIDialog.show( context );
Constructors
- UIDialog()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
show(
BuildContext context, {String submitText = "OK", Color? backgroundColor, Color? color, required String title, required String text, VoidCallback? onSubmit, bool disableBackKey = false, bool popOnPress = true, bool willShowRepetition = false}) → Future - Show dialog.
-
validate(
BuildContext context, {required Future< bool> validator(), String submitText = "OK", Color? backgroundColor, Color? color, String title = "ERROR", String text = "This data is invalid.", VoidCallback? onSubmit, bool disableBackKey = false, bool popOnPress = true, bool willShowRepetition = false}) → Future<bool> -
Check the value and display a dialog when it is
false
.