Skip to content

Clean up code introduced during textScaleFactor deprecation. #128825

@LongCatIsLooong

Description

@LongCatIsLooong

This corresponds to a TODO introduced in #128522. Some code can't be deprecated in the same PR as code from flutter/packages depends on them.
The full list of properties and args can be found in the PR description of #128522

Search for 128825 in the framework for code that needs to be removed.

Additionally, in the Android implementation:

  • Consider switching to the AndroidX API for computing the scaled font size to simplify the implementation
  • Or update robolectric once API 34 support is added (Support for sdk 34 robolectric/robolectric#8404), and add tests for the API 34 method code path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions