UpdateRequiredScreen constructor

const UpdateRequiredScreen({
  1. Key? key,
  2. required String currentVersion,
  3. required String latestVersion,
  4. required VoidCallback onUpdate,
  5. List<String> releaseNotes = const [],
  6. String title = 'Update Required',
  7. String message = 'A new version of the app is available. Please update to continue enjoying the latest features and security improvements.',
  8. 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',
});