BreadcrumbBar<T> class
A BreadcrumbBar provides the direct path of pages or folders to the current location. It is often used for situations where the user's navigation trail (in a file system or menu system) needs to be persistently visible and the user may need to go back to a previous location.
See also:
- learn.microsoft.com/en-us/windows/apps/design/controls/breadcrumbbar
- BreadcrumbItem, which is used to represent an item in the bar.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BreadcrumbBar
- Available Extensions
Constructors
-
BreadcrumbBar({Key? key, required List<
BreadcrumbItem< items, Widget overflowButtonBuilder(BuildContext context, VoidCallback openFlyout) = _defaultOverflowButtonBuilder, ValueChanged<T> >BreadcrumbItem< ? onItemPressed})T> > -
Creates a breadcrumb bar.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
BreadcrumbItem< T> > -
The items rendered in the bar.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onItemPressed
→ ValueChanged<
BreadcrumbItem< ?T> > -
Called when an item is pressed.
final
- overflowButtonBuilder → Widget Function(BuildContext context, VoidCallback openFlyout)
-
Overrides the default overflow button builder.
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(
) → State< BreadcrumbBar< T> > -
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