restorationId property
Restoration ID to save and restore the state of the Scaffold.
If it is non-null, the scaffold will persist and restore whether the Drawer and endDrawer was open or closed.
The state of this widget is persisted in a RestorationBucket claimed from the surrounding RestorationScope using the provided restoration ID.
Implementation
final String? restorationId;