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

Skip to content

ChipThemeData is now conventional #93452

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 6 commits into from
Nov 16, 2021

Conversation

HansMuller
Copy link
Contributor

@HansMuller HansMuller commented Nov 11, 2021

ChipThemeData is now conventional: all of its properties are default null and they define overrides of the defaults defined by the Chip widgets. Default overrides in priority order are (as usual):

  • Chip widget constructor parameters
  • A local ChipTheme
  • The Theme's chipTheme

All of the ChipThemeData constructor parameters and properties are now nullable. Other than that and the change to the default value of ThemeData.chipTheme, this change is intended to be backwards compatible.

Addresses the "theme normalization" sub project within #91772

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Nov 11, 2021
@google-cla google-cla bot added the cla: yes label Nov 11, 2021
Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

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

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@HansMuller HansMuller merged commit 8612f80 into flutter:master Nov 16, 2021
@HansMuller HansMuller deleted the update_chip_theme branch November 16, 2021 23:00
HansMuller pushed a commit that referenced this pull request Nov 17, 2021
WizzXu pushed a commit to WizzXu/flutter that referenced this pull request Nov 19, 2021
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants