textScaleFactor method

double? textScaleFactor(
  1. BuildContext context, {
  2. bool useSentinel = false,
})

Implementation

double? textScaleFactor(BuildContext context, {bool useSentinel = false}) {
  // if (_textScaleFactor == systemTextScaleFactorOption) {
  //   return useSentinel
  //       ? systemTextScaleFactorOption
  //       : MediaQuery.of(context).textScaleFactor;
  // } else {
  return _textScaleFactor;
  // }
}