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
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