labelBehavior property Null safety

NavigationDestinationLabelBehavior? labelBehavior
final

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.

Implementation

final NavigationDestinationLabelBehavior? labelBehavior;