CurvedNavigationBar class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CurvedNavigationBar
Constructors
Properties
- animationCurve → Curve
-
Curves interpolating button change animation, default Curves.easeOut.
final
- animationDuration → Duration
-
Duration of button change animation, default Duration(milliseconds: 600).
final
- backgroundColor → Color
-
The color of CurvedNavigationBar's background, default Colors.blueAccent.
final
-
The background color of floating button, default same as color attribute.
final
- color → Color
-
The color of the CurvedNavigationBar itself, default Colors.white.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLabel → bool
-
Check if CurvedNavigationBar has label.
final
- height → double
-
Height of CurvedNavigationBar.
final
- iconPadding → double
-
Padding of icon in floating button.
final
- index → int
-
The index into items for the current active CurvedNavigationBarItem.
final
-
items
→ List<
CurvedNavigationBarItem> -
Defines the appearance of the CurvedNavigationBarItem list that are
arrayed within the bottom navigation bar.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- letIndexChange → _LetIndexPage
-
Function which takes page index as argument and returns bool. If function
returns false then page is not changed on button tap. It returns true by
default.
final
- maxWidth → double?
-
Max width of CurvedNavigationBar.
final
-
onTap
→ ValueChanged<
int> ? -
Called when one of the items is tapped.
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(
) → CurvedNavigationBarState -
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