onHover property
final
An optional callback that's called when a Tab's hover state in the TabBar changes.
Called when a pointer enters or exits the ink response area of the Tab.
The value passed to the callback is true if a pointer has entered the
Tab at index
and false if a pointer has exited.
When hover is moved from one tab directly to another, this will be called twice. First to represent hover exiting the initial tab, and then second for the pointer entering hover over the next tab.
Implementation
final TabValueChanged<bool>? onHover;