TabValueChanged<T> typedef

TabValueChanged<T> = void Function(T value, int index)

Signature for TabBar callbacks that report that an underlying value has changed for a given Tab at index.

Used for TabBar.onHover and TabBar.onFocusChange callbacks The provided value being true indicates focus has been gained, or a pointer has hovered over the tab, with false indicated focus has been lost or the pointer has exited hovering.

Implementation

typedef TabValueChanged<T> = void Function(T value, int index);