DesignPieChartDetails class

A DesignPieChart as its look draws it.

Annotations

Constructors

DesignPieChartDetails({required Size size, required Offset centre, required double radius, required double holeRadius, required List<DesignPieSliceDetails> slices, required int? active, required Offset? activePosition, required PointerDeviceKind? activeBy, required Set<WidgetState> states})
The pie's details.
const

Properties

active → int?
The slice a pointer, a finger or the keys picked; null, none.
final
activeBy → PointerDeviceKind?
What picked active: a touch puts its readout clear of the finger; null, the keys or a screen reader.
final
activePosition → Offset?
The middle of active's rim: the readout's anchor.
final
centre → Offset
The pie's centre.
final
hashCode → int
The hash code for this object.
no setterinherited
holeRadius → double
The hole's radius (a donut's), in the same units; 0, none.
final
radius → double
Its radius.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Size
The chart's whole size.
final
slices → List<DesignPieSliceDetails>
The slices, in order.
final
states → Set<WidgetState>
The chart's states: WidgetState.focused, WidgetState.hovered.
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