restorationId property

String? restorationId

Restoration ID to save and restore the state of the form field.

Setting the restoration ID to a non-null value results in whether or not the form field validation persists.

The state of this widget is persisted in a RestorationBucket claimed from the surrounding RestorationScope using the provided restoration ID.

See also:


final String? restorationId;