resolveDoubleAllowNegative static method
Resolves values to double (int, double, string tokens, CSS units) and allows negatives
Note: Negative support is intended only for cases like tracking (letter spacing). Token names themselves are never treated as negative when prefixed with '-'.
Implementation
static double resolveDoubleAllowNegative(
dynamic value,
BuildContext context,
FlyToken<double> tokens,
) {
return _resolveDoubleInternal(value, context, tokens, allowNegative: true);
}