IndentGuideLine class

Branch line implementation with simple vertical lines.

Displays vertical lines alongside tree nodes to indicate hierarchy levels. Does not draw horizontal connections.

Example:

TreeView(
  branchLine: BranchLine.line,
  // or with custom color:
  branchLine: IndentGuideLine(color: Colors.blue),
);
Implemented types

Constructors

IndentGuideLine({Color? color})
Creates an IndentGuideLine with optional custom color.
const

Properties

color Color?
Custom color for the line. If null, uses the theme border color.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, List<TreeNodeDepth> depth, int index) Widget
Builds the visual representation of branch lines for a tree node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited