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:

Inheritance

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
key → Key?
The key used for the item itself.
finalinherited
parent ↔ NavigationPaneItem?
The parent item of this item.
getter/setter pairinherited
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, {int depth = 0}) → Widget
Builds the separator widget.
buildMenuFlyoutItem(BuildContext context, [ValueChanged<PaneItem>? onItemPressed]) → MenuFlyoutItemBase
override
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