restorationId property
final
Restoration ID to save and restore the state of the DatePickerDialog.
If it is non-null, the date picker will persist and restore the date selected on the dialog.
The state of this widget is persisted in a RestorationBucket claimed from the surrounding RestorationScope using the provided restoration ID.
See also:
- RestorationManager, which explains how state restoration works in Flutter.
Implementation
final String? restorationId;