Skip to content

fredgrott/master_flutter_themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image header

Master Flutter Themes

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

Packages used are:

Material Color Utilities-from Flutter Team

Dynamic Color-from Flutter Team

Flex Seed Scheme-from RydMike

Flex Color Scheme-from RydMike

Google Fonts-from Google team

Universal Platform=-from GSkinner

Shared Preferences

Hive

Articles Can Be Found At

Articles can be found at my substack on Flutter:

Fred Grott's Substack On Flutter

Credits

Credit goes to GSkinner, RydMike, Google and the Flutter SDK team.

License

BSD-3 clause license