BarDataStyle class
Encapsulates all the Styling options required for a BarChart. The order of priority in styling is
- barStyle in BarData
- groupStyle in BarGroup
- seriesStyle in BarSeries
- Default BarDataStyle Style
Constructors
- BarDataStyle.new({Color? barColor, Gradient? gradient, double? strokeWidth, Color? strokeColor, BorderRadius? cornerRadius})
-
Encapsulates all the Styling options required for a BarChart.
The order of priority in styling is
const
Properties
- barColor → Color?
-
The fill color of the Bar
final
- cornerRadius → BorderRadius?
-
Radius for the Bar Rectangle's Corners
final
- gradient → Gradient?
-
The gradient fill of the Bar
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - strokeColor → Color?
-
The Color of the Stroke/Border around the Bar
final
- strokeWidth → double?
-
The Width of the Stroke/Border around the Bar
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.
inherited
Static Methods
-
lerp(
BarDataStyle? current, BarDataStyle? target, double t) → BarDataStyle? -
Lerps between two BarDataStyle's for a factor
t