PaneItemSeparator class
Separators for grouping navigation items. Set the color property to Colors.transparent to render the separator as space. Uses a Divider under the hood, consequently uses the closest DividerThemeData.
See also:
- PaneItem, the item used by NavigationView to render tiles
- PaneItemHeader, used to label groups of items.
- PaneItemAction, the item used for execute an action on click
- PaneItemExpander, which creates hierhical navigation
- Inheritance
-
- Object
- NavigationPaneItem
- PaneItemSeparator
Constructors
- PaneItemSeparator({Key? key, Color? color, double? thickness})
- Creates an item separator.
Properties
- color → Color?
-
The color used by the Divider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
- thickness → double?
-
The separator thickness. Defaults to 1.0
final
Methods
-
build(
BuildContext context, Axis direction) → 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