LineChartLineStyle class

Contains various customization options for the line of the chart itself.

Constructors

LineChartLineStyle({Color color = const Color(0xFFFFFFFF), Color colorInactive = const Color(0x4DFFFFFF), double stroke = 3, Color shadowColor = const Color(0x33000000), double shadowStroke = 4, Offset shadowOffset = const Offset(0, 2), double shadowBlurRadius = 4, Gradient? fillGradient = defaultGradient, Color? fillColor, double altitudeLineStroke = 1, Color altitudeLineColor = const Color(0x33FFFFFF)})
Constructs an instance of LineChartLineStyle.
const

Properties

altitudeLineColor Color
Color of the altitude line.
final
altitudeLinePaint Paint
Gets a Paint for the altitude line drawing.
no setter
altitudeLineStroke double
Stroke of the altitude line.
final
color Color
Color of the chart line.
final
colorInactive Color
Color of the chart line.
final
fillColor Color?
Fill color of the chart between X axis and chart line.
final
filled bool
Gets whether chart between the line and the X axis is needed to be filled or not.
no setter
fillGradient Gradient?
Fill gradient of the chart between X axis and chart line.
final
hashCode int
The hash code for this object.
no setteroverride
lineInactivePaint Paint
Gets a Paint for the inactive line drawing.
no setter
linePaint Paint
Gets a Paint for the line drawing.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowBlurRadius double
Blur radius of the shadow beneath the chart line.
final
shadowColor Color
Color of the shadow beneath the chart line.
final
shadowOffset Offset
Offset of the shadow beneath the chart line.
final
shadowPaint Paint
Gets a Paint for the drawing of the shadow beneath the line.
no setter
shadowStroke double
Stroke of the shadow beneath the chart line.
final
stroke double
Stroke of the chart line.
final

Methods

getFillPaint([Rect? bounds]) Paint
Gets a Paint for the drawing the fill of the chart between the line and the X axis.
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

defaultGradient → const LinearGradient