PointerPaintingDetails class Null safety

Details for the drawPointer method, such as the location of the pointer, the angle, and the radius needed to draw the pointer.

Annotations

Constructors

PointerPaintingDetails({required Offset startOffset, required Offset endOffset, required double pointerAngle, required double axisRadius, required Offset axisCenter})
Creates the details which are required to paint the pointer
const

Properties

axisCenter Offset
Specifies the center position of the axis in the logical pixels.
final
axisRadius double
Specifies the axis radius in logical pixels.
final
endOffset Offset
Specifies the ending position of the pointer in the logical pixels.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pointerAngle double
Specifies the angle of the current pointer value.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startOffset Offset
Specifies the starting position of the pointer in the logical pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited