FlyTrackingToken class

Letter spacing values

Implemented types

Constructors

FlyTrackingToken({required double tighter, required double tight, required double normal, required double wide, required double wider, required double widest, Map<String, double> extras = const {}})
const

Properties

extras → Map<String, double>
Additional custom values
final
hashCode → int
The hash code for this object.
no setteroverride
keys → Iterable<String>
Get all available keys (canonical + extras)
no setteroverride
normal → double
normal Letter spacing values
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tight → double
tight Letter spacing values
final
tighter → double
tighter Letter spacing values
final
wide → double
wide Letter spacing values
final
wider → double
wider Letter spacing values
final
widest → double
widest Letter spacing values
final

Methods

copyWith({double? tighter, double? tight, double? normal, double? wide, double? wider, double? widest, Map<String, double>? extras}) → FlyTrackingToken
Create a copy with updated values
lerp(FlyTrackingToken other, double t) → FlyTrackingToken
Linear interpolation between two tokens
merge(FlyToken<double> other) → FlyTrackingToken
Merge another token into this one (right side wins)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, double value) → FlyTrackingToken
Put a new value for the given key
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override
operator [](String key) → double?
Access value by key (canonical or extra)
override

Static Methods

defaultTracking() → FlyTrackingToken
Create default values