CurvedNavBar class

Inheritance

Constructors

CurvedNavBar({@required List<FABBottomAppBarItem>? appBarItems, @required List<Widget>? bodyItems, bool extendBody = true, CurvedActionBar? actionButton, Color? activeColor = Colors.black, Color? inActiveColor = Colors.black26, Color? navBarBackgroundColor = Colors.white, Widget? actionBarView})

Properties

actionBarView Widget?
Scaffold body when actionButton selected
final
actionButton CurvedActionBar?
A CurvedActionBar button displayed floating above body, in the bottom center. Typically a FloatingActionButton.
final
activeColor Color?
Color of selected tab activeColor default value always Colors.black
final
appBarItems List<FABBottomAppBarItem>?
list of FABBottomAppBarItem items length should be always even eg.- 2,4,6,8 length of appBarItems should be equal to the length of bodyItems
final
bodyItems List<Widget>?
list of widgets length should be equal to appBarItems length of bodyItems should be equal to the length of appBarItems
final
extendBody bool
then the body extends to the bottom of the Scaffold, In this case specifying extendBody: true ensures that that scaffold's body will be visible through the bottom navigation bar's notch. extendBody default value always true
final
hashCode int
The hash code for this object.
no setterinherited
inActiveColor Color?
Color of unselected tab inActiveColor default value always Colors.black26
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
background Color of navigation bar navBarBackgroundColor default value always Colors.white
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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