RollingBottomBar class
Class to generate the rolling bottom bar
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- RollingBottomBar
Constructors
-
RollingBottomBar({Key? key, @required PageController? controller, @required List<
RollingBottomBarItem> ? items, @required ValueChanged<int> ? onTap, Color color = Colors.white, Color? itemColor, Color? activeItemColor = Colors.green, bool? enableIconRotation, bool? flat = false, bool? useActiveColorByDefault = true})
Properties
- activeItemColor → Color?
-
Color to indicate the active item
final
- color → Color
-
Color to paint the custom paint and draw the bottom bar
final
- controller → PageController?
-
Controller for animation
final
- enableIconRotation → bool?
-
Boolean value to indicate if rotate effect will be triggered
final
- flat → bool?
-
Boolean value to indicate if the bottom bar has shadow or not
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemColor → Color?
-
Color to indicate the unactive item
final
-
items
→ List<
RollingBottomBarItem> ? -
List of items to render into the bottom bar
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onTap
→ ValueChanged<
int> ? -
Function called when an item was tapped
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useActiveColorByDefault → bool?
-
Boolean value to indicate when to use individual active color for each child
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _RollingBottomBarState -
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