FlGridData class

Responsible to hold grid data,

Constructors

FlGridData({bool? show, bool? drawHorizontalLine, double? horizontalInterval, GetDrawingGridLine? getDrawingHorizontalLine, CheckToShowGrid? checkToShowHorizontalLine, bool? drawVerticalLine, double? verticalInterval, GetDrawingGridLine? getDrawingVerticalLine, CheckToShowGrid? checkToShowVerticalLine})
Responsible for rendering grid lines behind the content of charts, show determines showing or hiding all grids,

Properties

checkToShowHorizontalLine CheckToShowGrid
Gives you a y value, and gets a boolean that determines showing or hiding specified line.
final
checkToShowVerticalLine CheckToShowGrid
Gives you a x value, and gets a boolean that determines showing or hiding specified line.
final
drawHorizontalLine bool
Determines showing or hiding all horizontal lines.
final
drawVerticalLine bool
Determines showing or hiding all vertical lines.
final
getDrawingHorizontalLine GetDrawingGridLine
Gives you a y value, and gets a FlLine that represents specified line.
final
getDrawingVerticalLine GetDrawingGridLine
Gives you a x value, and gets a FlLine that represents specified line.
final
hashCode int
The hash code for this object.
no setterinherited
horizontalInterval double?
Determines interval between horizontal lines, left it null to be auto calculated.
final
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Determines showing or hiding all horizontal and vertical lines.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
verticalInterval double?
Determines interval between vertical lines, left it null to be auto calculated.
final

Methods

copyWith({bool? show, bool? drawHorizontalLine, double? horizontalInterval, GetDrawingGridLine? getDrawingHorizontalLine, CheckToShowGrid? checkToShowHorizontalLine, bool? drawVerticalLine, double? verticalInterval, GetDrawingGridLine? getDrawingVerticalLine, CheckToShowGrid? checkToShowVerticalLine}) FlGridData
Copies current FlGridData to a new FlGridData, and replaces provided values.
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.
inherited

Static Methods

lerp(FlGridData a, FlGridData b, double t) FlGridData
Lerps a FlGridData based on t value, check Tween.lerp.