NeedlePointer class

Implemented types

Constructors

NeedlePointer({required double width, required double height, Color? color, GaugePointerPosition position = const GaugePointerPosition.center(), GaugePointerBorder? border, double? borderRadius, Gradient? gradient, Shadow? shadow})
const

Properties

border GaugePointerBorder?
When null, the pointer border will not be rendered.
final
borderRadius double
final
color Color?
Either color or gradient must be provided.
final
gradient Gradient?
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
path Path
no setteroverride
position GaugePointerPosition
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow Shadow?
When null, the pointer shadow will not be rendered.
final
size Size
no setteroverride
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
width double
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