IDSBottomNavigationAppBar class

A customizable bottom navigation bar with support for a center item and icons.

Inheritance

Constructors

IDSBottomNavigationAppBar.new({required List<IDSBottomNavBarItem> items, String? centerItemText, double height = 70.0, double iconSize = 20.0, double iconTextSpace = 10.0, Color? backgroundColor, Color? inActiveColor, Color? activeColor, NotchedShape? notchedShape, ValueChanged<int>? onTabSelected, bool centerSelected = false, bool enableMiddleTabItem = true, bool enableTopShadow = true, double blurRadius = 2.0, double spreadRadius = 0.2, double offset = -2, Color? shadowColor = Colors.black12, Key? key})
IDSBottomNavigationAppBar
const

Properties

activeColor Color?
Color used for the active (selected) tab item.
final
backgroundColor Color?
Background color of the navigation bar.
final
blurRadius double
Radius of the blur effect applied to the shadow.
final
centerItemText String?
Optional text to be displayed at the center of the navigation bar.
final
centerSelected bool
Whether the center item is currently selected.
final
enableMiddleTabItem bool
Whether the middle tab item should be enabled.
final
enableTopShadow bool
Enables or disables the top shadow of the navigation bar.
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the navigation bar.
final
iconSize double
Size of the icon displayed in each tab item.
final
iconTextSpace double
Space between the icon and the text in a tab item.
final
inActiveColor Color?
Color used for inactive (unselected) tab items.
final
items List<IDSBottomNavBarItem>
Define the fields A list of items to be displayed in the bottom navigation bar.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
notchedShape NotchedShape?
Custom shape for the notch (usually for FAB integration).
final
offset double
Offset of the shadow in the y-axis.
final
onTabSelected ValueChanged<int>?
Callback when a tab is selected, returning the index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
Color of the navigation bar's shadow.
final
spreadRadius double
Spread radius of the shadow.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() IDSBottomNavigationAppBarState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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