TextScaler.linear constructor

const TextScaler.linear(
  1. 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;