Indentation class

Configuration class for building the Indent.

Constructors

Indentation({double width = DEF_INDENT_WIDTH, double thickness = 1, IndentStyle style = IndentStyle.squareJoint, Color color = const Color(0xFFBDBDBD), Offset offset = Offset.zero})
const

Properties

color → Color
The color used to to draw the lines for indents and scoping lines. By default light grey 0xFFBDBDBD is used for color.
final
hashCode → int
The hash code for this object.
no setteroverride
offset → Offset
Set an offset to move the Indent joint in the x, y directions. Scoping lines will only by affected by the y-component of the offset. By default the joint is drawn at the y-center and 12dps left of the content. By default Offset.zero is used for offset
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → IndentStyle
The IndentStyle used to draw the Indent. The scoping lines are not affected by the style. By default IndentStyle.squareJoint is used as style
final
thickness → double
Sets the thickness of the line used for indents and scoping lines By default 1 is used for thickness
final
width → double
The width that an Indent will take before building the actual content By default DEF_INDENT_WIDTH=24.0 is used for width.
final

Methods

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

Constants

DEF_INDENT_WIDTH → const double