defaultValue property
T?
defaultValue
final
The default value returned when the state has not been initialized.
If defaultValue is null and the state is accessed without being set, an error may occur depending on the context.
Implementation
final T? defaultValue;