So quite a few changes between flutter 2.0 and flutter 3.0 and this repo covers the changes in the themes, component themes, color space and color schemes, etc.
While we no longer have to manually implement each component theme; there are some tricks to get it implemented in a design impactful way. Included in the full solutions folder is the way to handle theme adaptations per device platforms.
And, of course, why not show how to store user preferences such as the ThemeMode via shared preferences or hive?
So what do I cover beyond the SDK docs?
- Visual Density Screen Size Fix
- Brand Color Inclusion Back Into HCT
- Way To Use All 3 Brand Colors as Seeds
- Dynamic Color tweaks
- ViewModel data binding example(Color Scheme is a ViewModel)
Packages used are:
Material Color Utilities-from Flutter Team
Dynamic Color-from Flutter Team
Flex Color Scheme-from RydMike
Universal Platform=-from GSkinner
Articles can be found at my substack on Flutter:
Fred Grott's Substack On Flutter
Credit goes to GSkinner, RydMike, Google and the Flutter SDK team.
BSD-3 clause license