NavigationHubLayout class

Constructors

Create a bottom navigation layout
Create a top navigation layout

Properties

animationDuration Duration?
The duration of the animation when the selected tab changes.
getter/setter pair
automaticIndicatorColorAdjustment bool?
Whether the indicatorColor should be automatically adjusted.
getter/setter pair
backgroundColor Color?
The color of the BottomNavigationBar itself.
getter/setter pair
dividerColor Color?
The color of the divider that appears between TabBar tabs.
getter/setter pair
dividerHeight double?
The thickness of the divider that appears between TabBar tabs.
getter/setter pair
dragStartBehavior DragStartBehavior?
Determines the way that drag start behavior is handled.
getter/setter pair
elevation double?
The z-coordinate of this BottomNavigationBar.
getter/setter pair
enableFeedback bool?
Whether detected gestures should provide acoustic and/or haptic feedback.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hideAppBarTitle bool?
Hide the app bar title
getter/setter pair
iconSize double?
The size of all of the BottomNavigationBarItem icons.
getter/setter pair
indicator Decoration?
The decoration applied to the selected tab indicator.
getter/setter pair
indicatorColor Color?
The color of the line that appears below the selected tab.
getter/setter pair
indicatorPadding EdgeInsetsGeometry?
The padding added to each of the TabBar's tabs.
getter/setter pair
indicatorSize TabBarIndicatorSize?
Defines the size of the selected tab indicator.
getter/setter pair
indicatorWeight double?
The thickness of the line that appears below the selected tab.
getter/setter pair
isScrollable bool?
Whether the TabBar is scrollable.
getter/setter pair
kind String?
The kind of navigation layout
getter/setter pair
labelColor Color?
The color of the TabBar's text and icons when they are selected.
getter/setter pair
labelPadding EdgeInsetsGeometry?
The padding added to the TabBar's tabs.
getter/setter pair
labelStyle TextStyle?
The text style of the TabBar's selected tab labels.
getter/setter pair
landscapeLayout bool?
Whether the BottomNavigationBar should use the legacy color scheme.
getter/setter pair
mouseCursor MouseCursor?
The mouse cursor for the BottomNavigationBarItems.
getter/setter pair
overlayColor Color?
The color to use for the Material when the TabBar is tapped.
getter/setter pair
overlayColorState WidgetStateProperty<Color?>?
getter/setter pair
padding EdgeInsetsGeometry?
The padding added to each of the TabBar's tabs.
getter/setter pair
physics ScrollPhysics?
The physics of the TabBar.
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 and BottomNavigationBarItem.label.
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 selected BottomNavigationBarItem.
getter/setter pair
showUnselectedLabels bool?
Whether the labels are shown for the unselected BottomNavigationBarItems.
getter/setter pair
splashBorderRadius BorderRadius?
The border radius of the splash.
getter/setter pair
splashFactory InteractiveInkFeatureFactory?
The splash factory used for the ripple effect on the TabBar.
getter/setter pair
tabAlignment TabAlignment?
The alignment of the TabBar's tabs.
getter/setter pair
textScaler TextScaler?
The text scaler
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 BottomNavigationBarItem.labels.
getter/setter pair
unselectedLabelColor Color?
The color of the TabBar's text and icons when they are not selected.
getter/setter pair
unselectedLabelStyle TextStyle?
The TextStyle of the BottomNavigationBarItem labels when they are not selected.
getter/setter pair
useLegacyColorScheme bool?
Whether the BottomNavigationBar should use the legacy color scheme.
getter/setter pair

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