cappedTextScale function

double cappedTextScale(
  1. BuildContext context
)

Implementation

double cappedTextScale(BuildContext context) {
  final textScaleFactor = _textScaleFactor(context)!;
  return max(textScaleFactor, 1);
}