[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.