MoonBreadcrumb class

Inheritance

Constructors

MoonBreadcrumb({Key? key, Color? dividerColor, Color? hoverEffectColor, BoxDecoration? itemDecoration, double? gap, EdgeInsetsGeometry? padding, int visibleItemCount = 3, String? semanticLabel, TextStyle? itemTextStyle, TextStyle? currentItemTextStyle, required List<MoonBreadcrumbItem> items, Widget? divider, Widget? showMoreWidget})
Creates a Moon Design breadcrumb.
const

Properties

currentItemTextStyle TextStyle?
The text style of the current breadcrumb item.
final
divider Widget?
The separating widget to display between the breadcrumb items.
final
dividerColor Color?
The color of the breadcrumb divider.
final
gap double?
The gap between the divider widget and the breadcrumb item.
final
hashCode int
The hash code for this object.
no setterinherited
hoverEffectColor Color?
The icon and text color of the breadcrumb item on hover.
final
itemDecoration BoxDecoration?
The custom decoration of the breadcrumb item.
final
items List<MoonBreadcrumbItem>
The list of breadcrumb items to display as a sequence of steps.
final
itemTextStyle TextStyle?
The text style of the breadcrumb item.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
padding EdgeInsetsGeometry?
The padding of the breadcrumb.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel String?
The semantic label for the breadcrumb default showMoreWidget.
final
showMoreWidget Widget?
The single custom widget to replace all the breadcrumb collapsed items with.
final
visibleItemCount int
The total number of the breadcrumb items to display.
final

Methods

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