Skip to content
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

Text color of material buttons should animate when disabling/enabling #226

Closed
FlutterIssues opened this issue Nov 9, 2015 · 3 comments
Closed
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Comments

@FlutterIssues
Copy link

Issue by Hixie
Monday Oct 26, 2015 at 16:50 GMT
Originally opened as https://github.com/flutter/engine/issues/1784


See the top image in the spec video.

Source: http://www.google.com/design/spec/components/buttons.html#buttons-flat-raised-buttons

@FlutterIssues FlutterIssues added this to the Blue Sky milestone Nov 9, 2015
@FlutterIssues FlutterIssues added bug framework flutter/packages/flutter repository. See also f: labels. labels Nov 9, 2015
@FlutterIssues
Copy link
Author

Comment by Hixie
Monday Oct 26, 2015 at 16:52 GMT


I'm thinking the right way to do this is to have an AnimateDefaultTextStyle widget which acts like a DefaultTextStyle widget except that it just animates the DefaultTextStyle value from whatever it inherited before to whatever it inherits now anytime what it inherits changes.

@Hixie Hixie added the f: material design flutter/packages/flutter/material repository. label Nov 20, 2015
@Hixie Hixie modified the milestones: 4: Make shippers happy, 5: Make Hixie proud Jun 6, 2017
@efidje efidje mentioned this issue May 8, 2018
@zoechi
Copy link
Contributor

zoechi commented Nov 30, 2018

material_button_animate_text_color_enable_disable

Looks like that's done.

@zoechi zoechi closed this as completed Nov 30, 2018
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

No branches or pull requests

3 participants