DistributionSegment class
A segment in a distribution (pie/donut chart slice).
Constructors
- DistributionSegment({required String label, required double value, Color? color})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
percent(
double total) → double -
Percentage of
totalthat this segment represents. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited