UpdateRequiredScreen constructor
const
UpdateRequiredScreen({
- Key? key,
- required String currentVersion,
- required String latestVersion,
- required VoidCallback onUpdate,
- List<
String> releaseNotes = const [], - String title = 'Update Required',
- String message = 'A new version of the app is available. Please update to continue enjoying the latest features and security improvements.',
- String updateButtonLabel = 'Update Now',
Implementation
const UpdateRequiredScreen({
super.key,
required this.currentVersion,
required this.latestVersion,
required this.onUpdate,
this.releaseNotes = const [],
this.title = 'Update Required',
this.message =
'A new version of the app is available. Please update to continue enjoying the latest features and security improvements.',
this.updateButtonLabel = 'Update Now',
});