AbstractLineGuide class abstract

An interface for configuring how to paint line guides in the indentation of a tree node.

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

Inheritance
Implementers

Constructors

AbstractLineGuide({double indent = 40.0, Color color = Colors.grey, double thickness = 2.0, double origin = 0.5})
Constructor with requried parameters for building the indent line guides.
const

Properties

color Color
The color to use when painting the lines on the canvas.
final
hashCode int
The hash code for this object.
no setterinherited
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.
final
originOffset double
The value that results from indent - (indent * origin).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double
The width each line should have.
final

Methods

createPaint() Paint
Creates the Paint object that will be used to paint lines.
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.
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.
override

Operators

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