CircleBottomNavigationBar class

Class CircleBottomNavigationBar: key: optional widget key reference tabs: list of TabData onTabChangedListener: function for control when change Tab initialSelection: index of selection item circleColor: circle color activeIconColor: active icon color inactiveIconColor: inactive icon color textColor: text color barBackgroundColor: bar background color circleSize: circle size barHeight: bar height arcHeight: arc height arcWidth: arc width circleOutline: circle outline shadowAllowance: shadowAllowance hasElevationShadows: has elevation shadows blurShadowRadius: blur shadow radius iconYAxisSpace: icon Y Axis Space textYAxisSpace: text Y Axis Space itemIconOn: item Icon On itemIconOff: item Icon Off itemTextOn: item Text On itemTextOff: item Text Off

Inheritance

Constructors

CircleBottomNavigationBar({Key? key, required List<TabData> tabs, required dynamic onTabChangedListener(int position), int? initialSelection, Color? circleColor, Color? inactiveIconColor, Color? activeIconColor, Color? textColor, Color? barBackgroundColor, double iconYAxisSpace = -0.5, double textYAxisSpace = 1, double itemIconOn = -1, double itemIconOff = -1, double itemTextOn = 0, double itemTextOff = 0, double circleSize = 60.0, double barHeight = 60.0, double arcHeight = 70.0, double arcWidth = 90.0, double circleOutline = 10.0, double shadowAllowance = 20.0, bool hasElevationShadows = true, double blurShadowRadius = 8.0})

Properties

activeIconColor Color?
final
arcHeight double
final
arcWidth double
final
barBackgroundColor Color?
final
barHeight double
final
blurShadowRadius double
final
circleColor Color?
final
circleOutline double
final
circleSize double
final
hasElevationShadows bool
final
hashCode int
The hash code for this object.
no setterinherited
iconYAxisSpace double
final
inactiveIconColor Color?
final
initialSelection int?
final
itemIconOff double
final
itemIconOn double
final
itemTextOff double
final
itemTextOn double
final
key Key?
Controls how one widget replaces another widget in the tree.
final
onTabChangedListener → dynamic Function(int position)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowAllowance double
final
tabs List<TabData>
final
textColor Color?
final
textYAxisSpace double
final

Methods

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