LineChartLimitStyle class

Contains various customization options for limit line and label.

Constructors

LineChartLimitStyle({TextStyle labelStyle = defaultStyle, TextStyle labelOveruseStyle = defaultOveruseStyle, EdgeInsets labelTextPadding = defaultTextPadding, Color labelColor = const Color(0xFFFFFFFF), Color dashColor = const Color(0x80FFFFFF), double stroke = 1, double dashSize = 2, double gapSize = 2})
Constructs an instance of LineChartLimitStyle.
const

Properties

dashColor Color
Color of a dashed line.
final
dashSize double
Size of dashes.
final
gapSize double
Gap between dashes.
final
hashCode int
The hash code for this object.
no setteroverride
labelColor Color
Background color of a label.
final
labelOveruseStyle TextStyle
TextStyle of a label if limit was overused.
final
labelPaint Paint
Gets a Paint for the limit label drawing.
no setter
labelStyle TextStyle
TextStyle of a label.
final
labelTextPadding EdgeInsets
Padding of a label.
final
linePaint Paint
Gets a Paint for the limit line drawing.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stroke double
Stroke of a dash line.
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