RadialNeedlePointer class

Inheritance

Constructors

RadialNeedlePointer({double? minValue, double? maxValue, required double value, double thickness = 1.0, double? thicknessStart, double? thicknessEnd, double length = 1.0, double? lengthAbsolute, double centerOffset = 0, double? centerOffsetAbsolute, double knobRadius = 0.05, double? knobRadiusAbsolute, Color color = const Color(0xFF000000), Gradient? gradient, Color knobColor = const Color(0xFF000000)})
Creates a new needle pointer.

Properties

centerOffset double
The offset to the center in multiples of the gauge radius.
final
centerOffsetAbsolute double?
The offset to the center in absolute pixels.
final
color Color
The color of the ticks.
final
gradient Gradient?
The gradient for the needle of the pointer.
final
hashCode int
The hash code for this object.
no setterinherited
knobColor Color
The color of the knob.
final
knobRadius double
The radius of the knob of the needle as a factor of the gauge radius.
final
knobRadiusAbsolute double?
The radius of the knob of the needle in absolute pixels.
final
length double
The multiplier of the length is used to calculate the length for the needle.
final
lengthAbsolute double?
The absolute length of the needle in pixels.
final
maxValue double?
The maximum value this pointer can reach.
finalinherited
minValue double?
The minimum value this pointer can reach.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double
The width of the needle.
final
thicknessEnd double?
The width of the needle at the end of the needle (away from the center of the axis).
final
thicknessStart double?
The width of the needle at the start of the needle (towards the center of the axis).
final
value double
The value
finalinherited

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