VersionSentryWidget constructor

const VersionSentryWidget({
  1. Key? key,
  2. required Widget child,
  3. bool? showPatchAndMinorUpdate = true,
  4. bool? showMajorUpdate = true,
  5. Duration? reminderEvery = const Duration(hours: 12),
  6. String? updateButtonText = 'Update',
  7. String? cancelButtonText = 'Cancel',
  8. ButtonStyle? updateButtonStyle,
  9. ButtonStyle? cancelButtonStyle,
  10. bool? sowStaticReleaseNotes = true,
  11. Widget? iconWidget,
  12. Widget? releaseNotes,
  13. TextStyle? titleStyle,
  14. Color? backgroundColor,
  15. TextStyle? releaseNotesTextStyle,
  16. Color? appBarColor,
  17. Color? primacyColor,
  18. String? countryCode,
})

Implementation

const VersionSentryWidget({super.key,
  required this.child,
  this.showPatchAndMinorUpdate = true,
  this.showMajorUpdate = true,
  this.reminderEvery = const Duration(hours: 12),
  this.updateButtonText = 'Update',
  this.cancelButtonText = 'Cancel',
  this.updateButtonStyle,
  this.cancelButtonStyle,
  this.sowStaticReleaseNotes = true,
  this.iconWidget,
  this.releaseNotes,
  this.titleStyle,
  this.backgroundColor,
  this.releaseNotesTextStyle,
  this.appBarColor,
  this.primacyColor,
  this.countryCode
});