labelBehavior property

NavigationDestinationLabelBehavior? labelBehavior

Defines how the destinations' labels will be laid out and when they'll be displayed.

Can be used to show all labels, show only the selected label, or hide all labels.

If null, NavigationBarThemeData.labelBehavior is used. If that is also null, the default is NavigationDestinationLabelBehavior.alwaysShow.


final NavigationDestinationLabelBehavior? labelBehavior;