BottomNavigationBarType enum Null safety

Defines the layout and behavior of a BottomNavigationBar.

For a sample on how to use these, please see BottomNavigationBar. See also:

Inheritance

Constructors

BottomNavigationBarType()
const

Values

fixed → const BottomNavigationBarType

The BottomNavigationBar's BottomNavigationBarItems have fixed width.

const BottomNavigationBarType(0)
shifting → const BottomNavigationBarType

The location and size of the BottomNavigationBar BottomNavigationBarItems animate and labels fade in when they are tapped.

const BottomNavigationBarType(1)

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<BottomNavigationBarType>
A constant List of the values in this enum, in order of their declaration.
[fixed, shifting]