UpgradeAlert constructor

UpgradeAlert({
  1. Key? key,
  2. AppcastConfiguration? appcastConfig,
  3. UpgraderMessages? messages,
  4. Widget? child,
  5. bool? debugAlwaysUpgrade,
  6. bool? debugDisplayOnce,
  7. bool? debugLogging,
  8. Duration? durationToAlertAgain,
  9. BoolCallback? onIgnore,
  10. BoolCallback? onLater,
  11. BoolCallback? onUpdate,
  12. BoolCallback? shouldPopScope,
  13. Client? client,
  14. bool? showIgnore,
  15. bool? showLater,
  16. bool? showReleaseNotes,
  17. bool? canDismissDialog,
  18. String? countryCode,
  19. String? minAppVersion,
  20. UpgradeDialogStyle? dialogStyle,
  21. Widget? getCustomDialog(
    1. BuildContext context, {
    2. String? message,
    3. void onUserIgnored()?,
    4. void onUserLater()?,
    5. void onUserUpdated()?,
    6. String? releaseNotes,
    7. 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,
      );