Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

  • Internally, removes use of the deprecated framework methods related to textScaleFactor, in favor of the newer textScaler.
  • Plumbs that same change through the public API of this package, deprecating the style sheet's textScaleFactor and adding a textScaler.
  • Updates the min Flutter SDK to 3.16 where the new APIs were added.
  • Also updates test code that uses the deprecated renderViewElement to use rootElement instead.

Fixes flutter/flutter#143400
Fixes flutter/flutter#143448

Pre-launch Checklist

* Internally, removes use of the deprecated framework methods related to
  `textScaleFactor`, in favor of the newer `textScaler`.
* Plumbs that same change through the public API of this package,
  deprecating the style sheet's `textScaleFactor` and adding a
  `textScaler`.
* Updates the min Flutter SDK to 3.16 where the new APIs were added.
* Also updates test code that uses the deprecated `renderViewElement` to
  use `rootElement` instead.

Fixes flutter/flutter#143400
Fixes flutter/flutter#143448
@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 20, 2024
@auto-submit auto-submit bot merged commit 947e34c into flutter:main Feb 20, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 20, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: flutter_markdown

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flutter_markdown] Replace deprecated renderViewElement Replace deprecated textScaleFactor and textScaleFactorOf

2 participants