Skip to content

Add TextHeightBehavior argument for DefaultTextStyle.merge #153178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 15, 2024
Merged

Add TextHeightBehavior argument for DefaultTextStyle.merge #153178

merged 5 commits into from
Aug 15, 2024

Conversation

kawaijoe
Copy link
Contributor

@kawaijoe kawaijoe commented Aug 9, 2024

Addresses an issue where DefaultTextStyle.merge is missing the textHeightBehavior argument. The argument is present in the DefaultTextStyle constructor.

Resolves #120176

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

Copy link

google-cla bot commented Aug 9, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. labels Aug 9, 2024
@kawaijoe kawaijoe marked this pull request as draft August 9, 2024 17:26
@kawaijoe kawaijoe marked this pull request as ready for review August 10, 2024 06:27
Copy link
Contributor

@nate-thegrate nate-thegrate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/ a documentation nit.

Thanks for adding the parameter and the test!

@kawaijoe
Copy link
Contributor Author

Thanks for the review @nate-thegrate! Could we get the PR merged if there aren't any other issues? 😊

@nate-thegrate
Copy link
Contributor

We'll be able to merge once the PR has 2 approvals (more info here).

I'll try reaching out to some folks on Discord, since that's usually the fastest way to get it done. If that doesn't work, I'll look through the git blame and make a request based on that.

@justinmc justinmc requested a review from victorsanni August 15, 2024 22:00
Copy link
Contributor

@victorsanni victorsanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@victorsanni victorsanni added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 15, 2024
@auto-submit auto-submit bot merged commit 5d59f8b into flutter:master Aug 15, 2024
76 checks passed
@kawaijoe kawaijoe deleted the fix/120176 branch August 16, 2024 00:33
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Aug 16, 2024
Manual roll requested by tarrinneal@google.com

flutter/flutter@99f00a1...bced008

2024-08-16 engine-flutter-autoroll@skia.org Roll Flutter Engine from 68938abd03b9 to a8fefc81188e (1 revision) (flutter/flutter#153537)
2024-08-16 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Adds missing IMA plugin to issue template (flutter/flutter#153510)
2024-08-16 engine-flutter-autoroll@skia.org Roll Flutter Engine from 65fd6ca194c1 to 68938abd03b9 (1 revision) (flutter/flutter#153533)
2024-08-16 engine-flutter-autoroll@skia.org Roll Flutter Engine from 8f3f80ec1225 to 65fd6ca194c1 (1 revision) (flutter/flutter#153529)
2024-08-15 engine-flutter-autoroll@skia.org Manual roll Flutter Engine from 971ddd9fe1bf to 8f3f80ec1225 (5 revisions) (flutter/flutter#153525)
2024-08-15 kawaijoe@users.noreply.github.com Add `TextHeightBehavior` argument for `DefaultTextStyle.merge` (flutter/flutter#153178)
2024-08-15 45459898+RamonFarizel@users.noreply.github.com Update TextTheme with the M3 Typography tokens (flutter/flutter#153131)
2024-08-15 jmccandless@google.com Design-Documents.md incorrect link (flutter/flutter#153509)
2024-08-15 matanlurey@users.noreply.github.com Roll `avd_cipd_verison` to latest to use the `crashreport` tool. (flutter/flutter#153520)
2024-08-15 gspencergoog@users.noreply.github.com Improve asserts on Element.mount (flutter/flutter#153477)
2024-08-15 bernaferrari2@gmail.com Fix anti-aliasing when painting borders with solid colors. (flutter/flutter#153365)
2024-08-15 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#153479)
2024-08-15 engine-flutter-autoroll@skia.org Roll Packages from e4f2247 to 86d15a6 (7 revisions) (flutter/flutter#153499)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC rmistry@google.com,stuartmorgan@google.com,tarrinneal@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
DBowen33 pushed a commit to DBowen33/flutter that referenced this pull request Aug 16, 2024
…er#153178)

Addresses an issue where `DefaultTextStyle.merge` is missing the `textHeightBehavior` argument. The argument is present in the `DefaultTextStyle` constructor.

Resolves flutter#120176
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…er#153178)

Addresses an issue where `DefaultTextStyle.merge` is missing the `textHeightBehavior` argument. The argument is present in the `DefaultTextStyle` constructor.

Resolves flutter#120176
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: text input Entering text in a text field or keyboard related problems autosubmit Merge PR when tree becomes green via auto submit App framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add textHeightBehavior to DefaultTextStyle.merge
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy