BottomNavigationBarLandscapeLayout enum Null safety

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

Inheritance

Constructors

BottomNavigationBarLandscapeLayout()
const

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.

BottomNavigationBarLandscapeLayout()
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.

BottomNavigationBarLandscapeLayout()
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.

BottomNavigationBarLandscapeLayout()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[spread, centered, linear]