hasancse91 / flutter_getx_template

A basic boilerplate template for starting a Flutter GetX project. GetX, Dio, MVVM, get CLI, Localization, Pagination etc are implemented.
MIT License
413 stars 152 forks source link

Theme change functionality #22

Open AliAkberAakash opened 2 years ago

AliAkberAakash commented 2 years ago

Why? (ticket link or issue description)

16

What was done and how?

Theme changing was implemented with GetX

Anything special? (optional)

AliAkberAakash commented 2 years ago

We need more flexibility to manage every widget color of the app. Cannot rely on GetX's basic theme changing. Please update your PR to achieve more customization option. For example below screenshots. item card's background should be dark color and text should be light color.

Screenshot_20211220-112000 Screenshot_20211220-112302

Here the background color of the cards are static colors from AppColors file, to make it dynamic we need to use colors from the theme regardless of we use GetX theme or our custom theme class. Should I refactor them to use colors from theme?