[ThemeData
🧹] Deprecate grab-bag properties
#116369
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Deprecates 11 grab-bag properties whose usages were removed in:
ThemeData
🧹] RemovecanvasColor
usages #116350ThemeData
🧹] RemovecardColor
usages #116349ThemeData
🧹] RemovedialogBackgroundColor
usages #116348ThemeData
🧹] RemovedividerColor
usages #116347ThemeData
🧹] RemovehintColor
usages #116346ThemeData
🧹] RemoveindicatorColor
usages #116344ThemeData
🧹] RemoveprimaryColorLight
&primaryColorDark
usages #116362ThemeData
🧹] RemovescaffoldBackgroundColor
usages #116341ThemeData
🧹] RemovesecondaryHeaderColor
usages #116342ThemeData
🧹] RemoveshadowColor
usages #116343Dart fixes are provided for all deprecations. For the sanity of reviewers, please review
theme_data.dart
andtheme_data.dart.expect
to evaluate the fixes, rather thanfix_theme_data.yaml
.Part of #91772
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.