FlyLeadingToken class
Line height values
Constructors
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
- loose → double
-
loose Line height values
final
- normal → double
-
normal Line height values
final
- relaxed → double
-
relaxed Line height values
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snug → double
-
snug Line height values
final
- tight → double
-
tight Line height values
final
Methods
-
copyWith(
{double? tight, double? snug, double? normal, double? relaxed, double? loose, Map< String, double> ? extras}) → FlyLeadingToken - Create a copy with updated values
-
lerp(
FlyLeadingToken other, double t) → FlyLeadingToken - Linear interpolation between two tokens
-
merge(
FlyToken< double> other) → FlyLeadingToken -
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) → FlyLeadingToken -
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
-
defaultLeading(
) → FlyLeadingToken - Create default values