CircleNavBar class

Inheritance

Constructors

CircleNavBar({Key? key, required int activeIndex, dynamic onTap(int index)?, Curve tabCurve = Curves.linearToEaseOut, Curve iconCurve = Curves.bounceOut, int tabDurationMillSec = 1000, int iconDurationMillSec = 500, required List<Widget> activeIcons, required List<Widget> inactiveIcons, required double height, required double circleWidth, required Color color, Color? circleColor, EdgeInsets padding = EdgeInsets.zero, BorderRadius cornerRadius = BorderRadius.zero, Color shadowColor = Colors.white, Color? circleShadowColor, double elevation = 0, Gradient? gradient, Gradient? circleGradient})
Construct a new appbar with internal style.
const

Properties

activeIcons List<Widget>
Bottom bar activeIcon List
final
activeIndex int
active index
final
circleColor Color?
Circle color (for active index)
final
circleGradient Gradient?
Circle gradient (for active index)
final
circleShadowColor Color?
Circle shadow color (for active index)
final
circleWidth double
Circle icon diameter
final
color Color
Bottom bar Color
final
cornerRadius BorderRadius
cornerRadius
final
elevation double
elevation
final
gradient Gradient?
gradient
final
hashCode int
The hash code for this object.
no setterinherited
height double
Bottom bar height (without bottom padding)
final
iconCurve Curve
When the active icon moves up from the bottom
final
iconDurationMillSec int
When the active icon moves up from the bottom
final
inactiveIcons List<Widget>
Bottom bar inactiveIcon List
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onTap → (dynamic Function(int index)?)
If you tap bottom navigation menu, this function will be called You have to update widget state by setting new activeIndex
final
padding EdgeInsets
bottom bar padding
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
shadowColor
final
tabCurve Curve
When the circle icon moves left and right
final
tabDurationMillSec int
When the circle icon moves left and right
final

Methods

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