Skip to content
Boring Doc
BreakingHigh impactOfficial migration guidesince 3.16.0landed 3.14.0-11.0.preandroid

Android 14 nonlinear font scaling enabled

Framework · Official source

Android 14 introduced nonlinear font scaling up to 200%. It may change how your app looks when the user changes the accessibility text scaling in system preferences.

Who is affected
Applications and packages relying on the previous behaviour or signature. Code that uses TextScaler, MediaQuery.
Practical impact
Behaviour or API differences that can break builds or change runtime behaviour.
What action should I take?
Follow the official migration guide below, update affected call sites, run `dart fix --apply` where a fix is available, then run your tests.
APIs mentioned:TextScalerMediaQuery
Official migration guide (excerpt, © The Flutter Authors, CC BY 3.0)

As the [Android 14 feature overview][Android 14 nonlinear font scaling] suggests, test your UI with the maximum font size enabled (200%). This should verify that your app can apply the font sizes correctly and can accommodate larger font sizes without impacting usability.

To adopt nonlinear font scaling in your app and custom widgets, consider migrating from textScaleFactor to TextScaler. To learn how to migrate to TextScaler, check out the [Deprecate textScaleFactor in favor of TextScaler][] migration guide.

Temporarily Opting Out

To opt-out of nonlinear text scaling on Android 14 until you migrate your app, add a modified MediaQuery at the top of your app's widget tree:

runApp(
  Builder(builder: (context) {
    final mediaQueryData = MediaQuery.of(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 once that API is removed from the Flutter API.

Migration assistantAI-generated · grounded in cited sources
AI explanations are not configured
Set AI_PROVIDER (for example to openai-compatible with a local Ollama or LM Studio endpoint) to enable grounded explanations. Everything else on this page works without an AI provider.
Official migration guide·Verified classification (95%)

Listed in the official breaking-changes index (docs.flutter.dev/release/breaking-changes).

An official announcement or migration guide documents an intended behaviour or API change. A verified source change (git diff) shows code changed but does not by itself prove a public API is breaking. AI interpretations are labelled and never used to classify a change.

Source commit
b3045439b7c0
Source last updated
Oct 21, 2026
Last synchronized
Oct 21, 2026
Publication status
published
Publication history
  • Oct 21, 2026, 8:31 PM: new → published (ingestion) — Backed by an official breaking-change/migration guide.
AI explanationAI-generated · grounded in cited sources
AI explanations are not configured
Set AI_PROVIDER (for example to openai-compatible with a local Ollama or LM Studio endpoint) to enable grounded explanations. Everything else on this page works without an AI provider.
Was this useful?
Android 14 nonlinear font scaling enabled · Boring Doc