Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Deprecate ThemeData.fixTextFieldOutlineLabel #87281

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

Conversation

HansMuller
Copy link
Contributor

@HansMuller HansMuller commented Jul 29, 2021

Deprecates what was supposed to have been a temporary flag: ThemeData.fixTextFieldOutlineLabel. The flag's value is now true by default and now the InputDecorator's floating label is vertically centered instead of being slightly too low.

Old - ThemeData.fixTextFieldOutlineLabel = false

Screen Shot 2021-07-29 at 11 42 37 AM

New - ThemeData.fixTextFieldOutlineLabel = true

Screen Shot 2021-07-29 at 11 44 39 AM

Fixes #87224

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Jul 29, 2021
@google-cla google-cla bot added the cla: yes label Jul 29, 2021
@skia-gold
Copy link

Gold has detected about 4 new digest(s) on patchset 1.
View them at https://flutter-gold.skia.org/cl/github/87281

@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #87281 at sha 05c21d71165cd8b36b5f196753cbc3197f94d35f

@flutter-dashboard flutter-dashboard bot added the will affect goldens Changes to golden files label Jul 29, 2021
@Piinks
Copy link
Contributor

Piinks commented Jul 29, 2021

This change should also include a dart fix since it is deprecating something.

@HansMuller HansMuller force-pushed the update_fix_textfield_outline_label branch from 05c21d7 to 601aa44 Compare July 29, 2021 19:36
@skia-gold
Copy link

Gold has detected about 8 new digest(s) on patchset 2.
View them at https://flutter-gold.skia.org/cl/github/87281

Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

Flutter_LGTM
Thanks for writing a fix! :)

@HansMuller HansMuller merged commit a76212f into flutter:master Jul 29, 2021
@HansMuller HansMuller deleted the update_fix_textfield_outline_label branch July 29, 2021 21:43
auto-submit bot pushed a commit that referenced this pull request May 17, 2023
The deprecation period has elapsed. The method was made obsolete in #87281.
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
The deprecation period has elapsed. The method was made obsolete in flutter#87281.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. will affect goldens Changes to golden files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ThemeData.fixTextFieldOutlineLabel still exists
3 participants