ManUpAppDialog class
Constructors
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
-
clearActiveDialogs(
BuildContext context) → dynamic - Remove any existing ManUpDialog routes - ideally call before calling showDialogForStatus unless there is a particular need to show multiple dialogs on top of each other.
-
showAlertDialog(
{required BuildContext context, String? message, String trueText = "OK", String? falseText, bool barrierDismissible = false}) → Future< bool?> -
Show a generic dialog and store it in
_activeDialogRoutes
so that it can be selectively dismissed. -
showDialogForStatus(
{required BuildContext context, required ManUpStatus status, required void onUpdateConfirmed(String url), required void onDisabledConfirmed(), String? message, String? updateUrl}) → Future< bool> - Show an appropriate dialog for the given ManUpStatus.