DesignChartDetails class
A DesignChart as its look draws it.
- Annotations
Constructors
-
DesignChartDetails({required Size size, required Rect plotArea, required DesignScale x, required DesignLinearScale y, required List<
DesignScaleTick> xTicks, required List<DesignScaleTick> yTicks, required List<DesignChartSeries> series, required DesignChartPointRef? active, required Offset? activePosition, required PointerDeviceKind? activeBy, required Set<WidgetState> states}) -
The chart's details.
const
Properties
- active → DesignChartPointRef?
-
The point 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?
-
Where active stands: the readout's anchor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- plotArea → Rect
-
Where the marks go: the size, less DesignChart.padding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
series
→ List<
DesignChartSeries> -
The values as drawn now: between the old data and the new while a
change springs.
final
- size → Size
-
The chart's whole size.
final
-
states
→ Set<
WidgetState> -
The chart's states: WidgetState.focused while the keys are on it,
WidgetState.hovered.
final
- x → DesignScale
-
The x scale, ranged to plotArea's width: right to left when the
reader's direction is.
final
-
xTicks
→ List<
DesignScaleTick> -
The x axis's ticks, labelled.
final
- y → DesignLinearScale
-
The y scale, ranged to plotArea's height, its least value at the
bottom.
final
-
yTicks
→ List<
DesignScaleTick> -
The y axis's ticks, labelled.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
positionOf(
DesignChartPointRef point) → Offset -
Where
pointstands, as drawn (a gap at the y scale's least value). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited