AtNewVersionNotification class

Constructors

AtNewVersionNotification({String? iOSAppId, String? androidAppId, required String? minimumVersion})

Properties

androidAppId String?
final
hashCode int
The hash code for this object.
no setterinherited
iOSAppId String?
final
minimumVersion String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

operator ==(Object other) bool
The equality operator.
inherited