reducedTextScale function

double reducedTextScale(
  1. BuildContext context
)

Implementation

double reducedTextScale(BuildContext context) {
  final textScaleFactor = _textScaleFactor(context)!;
  return textScaleFactor >= 1 ? (1 + textScaleFactor) / 2 : 1;
}