BottomNavigationBarLandscapeLayout enum

Refines the layout of a BottomNavigationBar when the enclosing MediaQueryData.orientation is Orientation.landscape.

Inheritance

Values

spread → const BottomNavigationBarLandscapeLayout

If the enclosing MediaQueryData.orientation is Orientation.landscape then the navigation bar's items are evenly spaced and spread out across the available width. Each item's label and icon are arranged in a column.

centered → const BottomNavigationBarLandscapeLayout

If the enclosing MediaQueryData.orientation is Orientation.landscape then the navigation bar's items are evenly spaced in a row but only consume as much width as they would in portrait orientation. The row of items is centered within the available width. Each item's label and icon are arranged in a column.

linear → const BottomNavigationBarLandscapeLayout

If the enclosing MediaQueryData.orientation is Orientation.landscape then the navigation bar's items are evenly spaced and each item's icon and label are lined up in a row instead of a column.

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<BottomNavigationBarLandscapeLayout>
A constant List of the values in this enum, in order of their declaration.