NavigationDestinationLabelBehavior enum

Specifies when each NavigationDestination's label should appear.

This is used to determine the behavior of NavigationBar's destinations.

Inheritance

Constructors

const

Values

alwaysShow → const NavigationDestinationLabelBehavior

Always shows all of the labels under each navigation bar destination, selected and unselected.

alwaysHide → const NavigationDestinationLabelBehavior

Never shows any of the labels under the navigation bar destinations, regardless of selected vs unselected.

onlyShowSelected → const NavigationDestinationLabelBehavior

Only shows the labels of the selected navigation bar destination.

When a destination is unselected, the label will be faded out, and the icon will be centered.

When a destination is selected, the label will fade in and the label and icon will slide up so that they are both centered.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<NavigationDestinationLabelBehavior>
A constant List of the values in this enum, in order of their declaration.