FlyValue class

Value resolver that handles type conversion for Flywind utilities

Constructors

FlyValue()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

resolveColor(dynamic value, BuildContext context, FlyToken<Color> tokens) → Color
Resolves color values (Color, string tokens, hex)
resolveDouble(dynamic value, BuildContext context, FlyToken<double> tokens) → double
Resolves values to double (int, double, string tokens, CSS units) for spacing and radius
resolveDoubleAllowNegative(dynamic value, BuildContext context, FlyToken<double> tokens) → double
Resolves values to double (int, double, string tokens, CSS units) and allows negatives
resolveIntrinsicWidth(dynamic value) → FlyIntrinsicWidth?
Resolves intrinsic width values from string keywords