value method
Converts the initial size to pixels based on the device type and font variant.
Example:
double result = sizeConfig.value(initialSize);
Implementation
double value(double? initialSize, [bool any = true]) {
final x = (initialSize ?? 0) * (_fontVariant / 100);
final v = !any && x < 0 ? 1.0 : x;
final r = ((initialSize ?? 0) + v);
return r;
}