Tick<D> class
A labeled point on an axis.
D
is the type of the value this tick is associated with.
Constructors
- Tick({required D value, required TextElement? textElement, double? locationPx, double? labelOffsetPx})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelOffsetPx ↔ double?
-
Offset of the label for this tick from its location.
getter/setter pair
- locationPx ↔ double?
-
Location on the axis where this tick is rendered (in canvas coordinates).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textElement ↔ TextElement?
-
TextElement for this tick.
getter/setter pair
- value → D
-
The value that this tick represents
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited