onUpdate property
void Function(T)?
onUpdate
final
Runs on everytime the state changes.
Implementation
final void Function(T)? onUpdate;
Runs on everytime the state changes.
final void Function(T)? onUpdate;