PaneItemHeader class
Headers for labeling groups of items. This is not displayed if the display mode is PaneDisplayMode.compact
See also:
- PaneItem, the item used by NavigationView to render tiles
- PaneItemSeparator, used to group navigation items
- PaneItemAction, the item used for execute an action on click
- PaneItemExpander, which creates hierhical navigation
- Inheritance
-
- Object
- NavigationPaneItem
- PaneItemHeader
Constructors
- PaneItemHeader({Key? key, required Widget header})
- Creates a pane header.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget
-
The header. The default style is NavigationPaneThemeData.itemHeaderTextStyle,
but can be overriten by Text.style.
final
-
itemKey
→ GlobalKey<
State< StatefulWidget> > -
The key used for the item itself. Useful to find the position and size of
the pane item within the screen
latefinalinherited
- key → Key?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context) → Widget -
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited