app_upgrader_flutter library

Classes

AlertStyleWidget
Appcast
The Appcast class is used to download an Appcast, based on the Sparkle framework by Andy Matuschak. Documentation: https://sparkle-project.org/documentation/publishing/ An Appcast is an RSS feed with one channel that has a collection of items that each describe one app version.
AppcastConfiguration
A class to define the configuration for the appcast. The configuration contains two parts: a URL to the appcast, and a list of supported OS names, such as "android", "fuchsia", "ios", "linux" "macos", "web", "windows".
AppcastConstants
These constants taken from: https://github.com/sparkle-project/Sparkle/blob/master/Sparkle/SUConstants.m
AppcastItem
AppUpgradeAlert
A widget to display the upgrade dialog.
AppUpgradeCard
A widget to display the upgrade card.
ITunesSearchAPI
MockUpgraderOS
A class to mock UpgraderOS for testing.
PlayStoreSearchAPI
UpdateController
UpgradeBase
UpgradeBaseState
Upgrader
A class to configure the upgrade dialog.
UpgraderMessages
The default localized messages used for display in AppUpgrader. Extend this class to provide custom values and new localizations for languages. An example to replace the Ignore button with a custom value would be:
UpgraderOS
A class that indicates which OS this code is running on.

Enums

UpgradeDialogStyle
There are two different dialog styles: Cupertino and Material
UpgraderMessage
The message identifiers used in AppUpgrader.

Functions

ambiguate<T>(T? value) → T?
This allows a value of type T or T? to be treated as a value of type T?.

Typedefs

BoolCallback = bool Function()
Signature of callbacks that have no arguments and return bool.
UpgraderEvaluateNeed = bool
The type of data in the stream.
VoidBoolCallback = void Function(bool value)
Signature of callbacks that have a bool argument and no return.
WillDisplayUpgradeCallback = void Function({String? appStoreVersion, required bool display, String? installedVersion, String? minAppVersion, String? releaseNote})
Signature of callback for willDisplayUpgrade. Includes display, minAppVersion, installedVersion, and appStoreVersion.