ConnectingLines class

Constructors

ConnectingLines({Color color = Colors.grey, double origin = 0.5, bool roundCorners = false, List<double>? interval})
Creates a ConnectingLines.

Properties

color → Color
The color to use when painting the lines on the canvas.
finalinherited
hashCode → int
The hash code for this object.
no setter
indent → double
The amount of indent to apply for each level of the tree.
finalinherited
lineInterval → List<double>
final
maxLevel → int
The maximum indentation level allowed for tree nodes.
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
padding → EdgeInsetsGeometry
The amount of space to inset TreeIndentation.child.
finalinherited
pathModifier → PathModifier?
An optional mapper callback that can be used to apply some styling to tree lines like dashing and dotting.
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
strokeCap → StrokeCap
The kind of finish to place on the end of lines drawn.
finalinherited
strokeJoin → StrokeJoin
The kind of finish to place on the joins between line segments.
finalinherited
thickness → double
The width each line should have.
finalinherited

Methods

copyWith({double? indent, EdgeInsetsGeometry? padding, int? maxLevel}) → IndentGuide
Creates a copy of this indent guide but with the given fields replaced with the new values.
inherited
createPaint() → Paint
Creates the Paint object that will be used to draw lines.
inherited
createPainter(BuildContext context, TreeEntry<Object> entry) → CustomPainter
Subclasses must override this method to provide the CustomPainter that will handle line painting.
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.