noScaling constant
A TextScaler that doesn't scale the input font size.
This is equivalent to TextScaler.linear(1.0)
, the TextScaler.scale
implementation always returns the input font size as-is.
Implementation
static const TextScaler noScaling = _LinearTextScaler(1.0);