BottomNavigationBarLandscapeLayout enum Null safety

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

Constants

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.

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

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

const BottomNavigationBarLandscapeLayout(0)
values → const List<BottomNavigationBarLandscapeLayout>

A constant List of the values in this enum, in order of their declaration.

const List<BottomNavigationBarLandscapeLayout>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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