ConnectingLinesGuide class

The IndentGuide configuration for painting vertical lines that have a horizontal connection to its tree node.

Check out the factory constructors of IndentGuide to discover the available indent guide decorations.

Inheritance

Constructors

ConnectingLinesGuide({double indent = 40.0, Color color = Colors.grey, double thickness = 2.0, double origin = 0.5, bool roundCorners = false})
Creates a ConnectingLinesGuide.
const

Properties

color Color
The color to use when painting the lines on the canvas.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
indent double
The amount of indent to apply for each level of the tree.
finalinherited
origin double
Defines where horizontally inside indent to start painting the vertical lines.
finalinherited
originOffset double
The value that results from indent - (indent * origin).
finalinherited
roundCorners bool
Determines if the connection between a horizontal and a vertical line should be rounded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double
The width each line should have.
finalinherited

Methods

copyWith({double? indent, Color? color, double? thickness, double? origin, bool? roundCorners}) ConnectingLinesGuide
Creates a copy of this indent guide but with the given fields replaced with the new values.
createPaint() Paint
Creates the Paint object that will be used to paint lines.
inherited
createPainter(BuildContext context, TreeEntry<Object> entry) CustomPainter
Subclasses must override this method to provide the CustomPainter that will handle line painting.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offsetOfLevel(int level) double
Calculates the origin offset of the line drawn for the given level.
inherited
toString() String
A string representation of this object.
inherited
wrap(BuildContext context, Widget child, TreeEntry<Object> entry) Widget
Method used to wrap child in the desired decoration/painting.
inherited

Operators

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