onStateChanged property
Called on every indicator state change.
There is no need to use setState in this function, as the indicator will be rebuilt automatically.
Implementation
final OnStateChanged? onStateChanged;
Called on every indicator state change.
There is no need to use setState in this function, as the indicator will be rebuilt automatically.
final OnStateChanged? onStateChanged;