FlBorderData class

Holds data to drawing border around the chart.

Constructors

FlBorderData({bool? show, Border? border})
show Determines showing or hiding border around the chart. border Determines the visual look of 4 borders, see Border.

Properties

border → Border
final
hashCode → int
The hash code for this object.
no setterinherited
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
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({bool? show, Border? border}) → FlBorderData
Copies current FlBorderData to a new FlBorderData, and replaces provided values.
isVisible() → bool
returns false if all borders have 0 width or 0 opacity
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(FlBorderData a, FlBorderData b, double t) → FlBorderData
Lerps a FlBorderData based on t value, check Tween.lerp.