SliceDataStyle class
Encapsulates all the Styling options required for a PieChart. The order of priority in styling is
- style in SliceData
- seriesStyle in PieSeries
- Default SliceDataStyle Style
Constructors
Properties
- color → Color?
-
The color of the slice
final
- gradient → Gradient?
-
The Gradient of the slice
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelPosition → double?
-
Defines the Position of the Label for Slice
Along the length of the radius.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- radius → double
-
The radius of the Pie/Slice.
Maximum Radius size will be auto-calculated and
will prevent Slice to Clip Out of Bounds
final
- 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 Pie/Slice
final
- strokeWidth → double?
-
The Width of the Stroke/Border around the Pie/Slice
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(
SliceDataStyle? current, SliceDataStyle? target, double donutRadius, double t) → SliceDataStyle? -
Lerps between two SliceDataStyle's for a factor
t