AppVersionCustomDialog class
- Inheritance
-
- Object
- AccessoryCheckUpdate
- AppVersionCustomDialog
Constructors
- AppVersionCustomDialog({required String jsonUrl, required BuildContext context, required Widget dialogBuilder(BuildContext), bool? showWeb, bool barrierDismissible = true})
- Checks if it is necessary to show an app update.
Properties
- barrierDismissible ↔ bool
-
if is TRUE you can dismiss the message
dialog by tapping the modal barrier (default: TRUE)
getter/setter pair
- context ↔ BuildContext
-
Context
getter/setter pair
- dialogBuilder ↔ Widget Function(BuildContext)
-
Custom Dialog Builder for use your custom dialog
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonUrl ↔ String
-
JSON http link
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showWeb ↔ bool?
-
if is TRUE the message dialog it
will disappear on flutter web app version (default: TRUE)
getter/setter pair
Methods
-
checkUpdated(
) → Future< bool> -
inherited
-
getAppInfo(
) → Future< void> -
inherited
-
getAppVersion(
) → Future< bool> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited