onUpdate property

void Function(T)? onUpdate
final

Runs on everytime the state changes.

Implementation

final void Function(T)? onUpdate;