SimpleUpdateDialog class
A simple update dialog.
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
-
showUpdateDialog(
{required BuildContext context, required DialogConfig dialogConfig, String title = 'Update Alert!', String message = 'There\'s a newer version of the app available', bool isForceUpdate = false, DialogDecoration? dialogDecoration, VoidCallback? thenCallback, String positiveActionText = 'Update', String negativeActionText = 'Maybe later', VoidCallback? positiveActionCallback, VoidCallback? negativeActionCallback}) → void -
context
is used to match the style of the dialog with rest of the app theme