NavBottomBar class

BottomNavigationBar Wrapper Class.

Constructors

Optionally supply all the BottomNavigationBar properties when instantiating.

Properties

backgroundColor Color?
The color of the BottomNavigationBar itself.
getter/setter pair
bar BottomNavigationBar?
Display the defined BottomNavigationBar
no setter
currentIndex int?
The index into items for the current active BottomNavigationBarItem.
getter/setter pair
elevation double?
The z-coordinate of this BottomNavigationBar.
getter/setter pair
fixedColor Color?
The value of selectedItemColor.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hide bool?
If true the show() funciton will not work. Bottom Bar is not displayed.
getter/setter pair
iconSize double?
The size of all of the BottomNavigationBarItem icons.
getter/setter pair
items List<BottomNavigationBarItem>?
Defines the appearance of the button items that are arrayed within the bottom navigation bar.
getter/setter pair
key Key?
The Widget Key.
getter/setter pair
onTap ValueChanged<int>?
Called when one of the items is tapped.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedFontSize double?
The font size of the BottomNavigationBarItem labels when they are selected.
getter/setter pair
selectedIconTheme IconThemeData?
The size, opacity, and color of the icon in the currently selected BottomNavigationBarItem.icon.
getter/setter pair
selectedItemColor Color?
The color of the selected BottomNavigationBarItem.icon
getter/setter pair
selectedLabelStyle TextStyle?
The TextStyle of the BottomNavigationBarItem labels when they are selected.
getter/setter pair
showSelectedLabels bool?
Whether the labels are shown for the unselected BottomNavigationBarItems.
getter/setter pair
showUnselectedLabels bool?
Whether the labels are shown for the selected BottomNavigationBarItem.
getter/setter pair
type BottomNavigationBarType?
Defines the layout and behavior of a BottomNavigationBar.
getter/setter pair
unselectedFontSize double?
The font size of the BottomNavigationBarItem labels when they are not selected.
getter/setter pair
unselectedIconTheme IconThemeData?
The size, opacity, and color of the icon in the currently unselected BottomNavigationBarItem.icons.
getter/setter pair
unselectedItemColor Color?
The color of the unselected BottomNavigationBarItem.icon and
getter/setter pair
unselectedLabelStyle TextStyle?
The TextStyle of the BottomNavigationBarItem labels when they are not selected.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show({List<BottomNavigationBarItem>? items, ValueChanged<int>? onTap, int? currentIndex, double? elevation, BottomNavigationBarType? type, Color? fixedColor, Color? backgroundColor, double? iconSize, Color? selectedItemColor, Color? unselectedItemColor, IconThemeData? selectedIconTheme, IconThemeData? unselectedIconTheme, double? selectedFontSize, double? unselectedFontSize, TextStyle? selectedLabelStyle, TextStyle? unselectedLabelStyle, bool? showSelectedLabels, bool? showUnselectedLabels, bool? hide}) BottomNavigationBar?
Display the defined BottomNavigationBar
toString() String
A string representation of this object.
inherited

Operators

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