CubertoBottomBar class

Inheritance

Constructors

CubertoBottomBar({Key? key, required List<TabData> tabs, required OnTabChangedListener onTabChangedListener, int selectedTab = 0, Color? inactiveIconColor, Color? textColor, Color? tabColor, Color? barBackgroundColor, BorderRadius? barBorderRadius, CubertoDrawer? drawer, CubertoTabStyle? tabStyle, EdgeInsets? padding, List<BoxShadow>? barShadow})
const

Properties

barBackgroundColor Color?
This color is used to set up the background color of the bottom bar
final
barBorderRadius BorderRadius?
BorderRadius to add border to the bottom bar.
final
barShadow List<BoxShadow>?
The list of shadows of the CubertoBottomBar
final
drawer CubertoDrawer?
To add a navigation drawer of CubertoDrawer type
final
hashCode int
The hash code for this object.
no setterinherited
inactiveIconColor Color?
This color is used to show that the tab is inactive i.e not selected
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onTabChangedListener OnTabChangedListener
The callback that will be executed each time the tab is changed
final
padding EdgeInsets?
The inner padding of the CubertoBottomBar
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTab int
This int value is used to programmatically change the index of the tabs
final
tabColor Color?
This color is used to specify the tab color
final
tabs List<TabData>
List of TabData to set up the bottom nav bar
final
tabStyle CubertoTabStyle?
CubertoTabStyle to be defined as required, by default it will be CubertoTabStyle.styleNormal
final
textColor Color?
This color is used to specify the color of text in the tab
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() CubertoBottomBarState
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}) 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