UpgradeAlert constructor
UpgradeAlert({
- Key? key,
- AppcastConfiguration? appcastConfig,
- UpgraderMessages? messages,
- Widget? child,
- bool? debugAlwaysUpgrade,
- bool? debugDisplayOnce,
- bool? debugLogging,
- Duration? durationToAlertAgain,
- BoolCallback? onIgnore,
- BoolCallback? onLater,
- BoolCallback? onUpdate,
- BoolCallback? shouldPopScope,
- Client? client,
- bool? showIgnore,
- bool? showLater,
- bool? showReleaseNotes,
- bool? canDismissDialog,
- String? countryCode,
- String? minAppVersion,
- UpgradeDialogStyle? dialogStyle,
- Widget? getCustomDialog(
- BuildContext context, {
- String? message,
- void onUserIgnored()?,
- void onUserLater()?,
- void onUserUpdated()?,
- String? releaseNotes,
- String? title,
Implementation
UpgradeAlert({
Key? key,
AppcastConfiguration? appcastConfig,
UpgraderMessages? messages,
this.child,
bool? debugAlwaysUpgrade,
bool? debugDisplayOnce,
bool? debugLogging,
Duration? durationToAlertAgain,
BoolCallback? onIgnore,
BoolCallback? onLater,
BoolCallback? onUpdate,
BoolCallback? shouldPopScope,
http.Client? client,
bool? showIgnore,
bool? showLater,
bool? showReleaseNotes,
bool? canDismissDialog,
String? countryCode,
String? minAppVersion,
UpgradeDialogStyle? dialogStyle,
Widget? Function(
BuildContext context, {
String? title,
String? message,
String? releaseNotes,
void Function()? onUserIgnored,
void Function()? onUserLater,
void Function()? onUserUpdated,
})?
getCustomDialog,
}) : super(
key: key,
appcastConfig: appcastConfig,
messages: messages,
debugDisplayAlways: debugAlwaysUpgrade,
debugDisplayOnce: debugDisplayOnce,
debugLogging: debugLogging,
durationToAlertAgain: durationToAlertAgain,
onIgnore: onIgnore,
onLater: onLater,
onUpdate: onUpdate,
shouldPopScope: shouldPopScope,
client: client,
showIgnore: showIgnore,
showLater: showLater,
showReleaseNotes: showReleaseNotes,
canDismissDialog: canDismissDialog,
countryCode: countryCode,
minAppVersion: minAppVersion,
dialogStyle: dialogStyle,
getCustomDialog: getCustomDialog,
);