Results for “Deprecate textScaleFactor in favor of TextScaler”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Deprecate textScaleFactor in favor of TextScaler3.16.0deprecated
In preparation for adopting the Android 14 nonlinear font scaling feature, all
- Android 14 nonlinear font scaling enabled3.16.0breaking
context); final mediaQueryDataWithLinearTextScaling = mediaQueryData .copyWith(textScaler: TextScaler.linear(mediaQueryData.textScaler.textScaleFactor)); return MediaQuery(data: mediaQueryDataWithLinearTextScaling, child: realWidgetTree); }), ); ``` This uses the deprecated `textScaleFactor` API. It will stop working