TextScaler.linear constructor
- double textScaleFactor
Creates a proportional TextScaler that scales the incoming font size by
multiplying it with the given textScaleFactor
.
Implementation
const factory TextScaler.linear(double textScaleFactor) = _LinearTextScaler;