onStateChange property

ValueChanged<FWidgetStatesDelta>? onStateChange
final

Handler called when there are any changes to a tappable's WidgetStates.

It only gains the WidgetState.focused state on primary focus.

{@macro forui.foundation.doc_templates.WidgetStates.selectable}

Implementation

final ValueChanged<FWidgetStatesDelta>? onStateChange;