FlyRadiusToken class

Border radius values for rounded corners

Implemented types

Constructors

FlyRadiusToken({required double xs, required double sm, required double md, required double lg, required double xl, required double xl2, required double xl3, required double xl4, 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
lg → double
lg Border radius values for rounded corners
final
md → double
md Border radius values for rounded corners
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sm → double
sm Border radius values for rounded corners
final
xl → double
xl Border radius values for rounded corners
final
xl2 → double
2xl Border radius values for rounded corners
final
xl3 → double
3xl Border radius values for rounded corners
final
xl4 → double
4xl Border radius values for rounded corners
final
xs → double
xs Border radius values for rounded corners
final

Methods

copyWith({double? xs, double? sm, double? md, double? lg, double? xl, double? xl2, double? xl3, double? xl4, Map<String, double>? extras}) → FlyRadiusToken
Create a copy with updated values
lerp(FlyRadiusToken other, double t) → FlyRadiusToken
Linear interpolation between two tokens
merge(FlyToken<double> other) → FlyRadiusToken
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) → FlyRadiusToken
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

defaultRadius() → FlyRadiusToken
Create default values