UpdateNotification class
Methods
-
getAppVersionStatus()
→ Future<AppVersionStatus?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
printDebugText(String s)
→ void
-
-
showAlertDialog({required BuildContext context})
→ dynamic
-
This checks the version status, then displays a platform-specific alert
onClick buttons can dismiss the update alert, or go to the app store.
-
showOptionalUpdateAlertDialog({required BuildContext context, required AppVersionStatus appVersionStatus, String alertTitle = 'Update Available', String? alertText, String updateBtn = 'Update', bool allowDismissible = true, String dismissBtn = 'Later', VoidCallback? dismissAction})
→ void
-
-
showRequiredUpdateAlertDialog({required BuildContext context, required AppVersionStatus appVersionStatus, String alertTitle = 'Update Available', String? alertText, String updateBtn = 'Update', bool allowDismissible = false, VoidCallback? dismissAction})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited