onUpdate property

void Function(T value, A arg)? onUpdate
final

Runs on everytime the state changes.

Implementation

final void Function(T value, A arg)? onUpdate;