UpdateState constructor
const
UpdateState({
- Key? key,
- String title = 'Update required',
- String? message = 'A newer version of the app is available. Update to continue.',
- String updateLabel = 'Update now',
- String laterLabel = 'Later',
- VoidCallback? onUpdate,
- VoidCallback? onLater,
Implementation
const UpdateState({
super.key,
this.title = 'Update required',
this.message =
'A newer version of the app is available. Update to continue.',
this.updateLabel = 'Update now',
this.laterLabel = 'Later',
this.onUpdate,
this.onLater,
});