GlossSlice class
One slice of a GlossPieChart.
- Annotations
Constructors
- GlossSlice(String label, double value, {Color? color})
-
A slice named
labelworthvalue.const
Properties
- color → Color?
-
Its gel; null: the next in Gloss's set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Its name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double
-
Its share, against the others' sum.
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