DesignPieSliceDetails class
A slice as drawn.
- Annotations
Constructors
- DesignPieSliceDetails({required String label, required double value, required double startAngle, required double sweepAngle})
-
A slice's details.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Its name.
final
- midAngle → double
-
Its middle, in the same radians.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Its part of the whole, 0 to 1.
final
- startAngle → double
-
Where it starts, in Canvas.drawArc's radians (0 at three o'clock,
clockwise): the first slice at twelve o'clock.
final
- sweepAngle → double
-
How far it runs: clockwise, or counter-clockwise (negative) right to
left.
final
- value → double
-
Its value as drawn now (springing).
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