VersionSentryWidget constructor
const
VersionSentryWidget({
- Key? key,
- required Widget child,
- bool? showPatchAndMinorUpdate = true,
- bool? showMajorUpdate = true,
- Duration? reminderEvery = const Duration(hours: 12),
- String? updateButtonText = 'Update',
- String? cancelButtonText = 'Cancel',
- ButtonStyle? updateButtonStyle,
- ButtonStyle? cancelButtonStyle,
- bool? sowStaticReleaseNotes = true,
- Widget? iconWidget,
- Widget? releaseNotes,
- TextStyle? titleStyle,
- Color? backgroundColor,
- TextStyle? releaseNotesTextStyle,
- Color? appBarColor,
- Color? primacyColor,
- 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
});