ValueChanged<T> onChanged
read-only

Called when the value of the selection should change.

The tab bar selection passes the new value to the callback but does not actually change state until the parent widget rebuilds the tab bar selection with the new value.

If null, the tab bar selection cannot change value.