flutter_gen icon indicating copy to clipboard operation
flutter_gen copied to clipboard

support for theme

Open shanbelileh opened this issue 3 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the problem

Hi thanks for this wonderful package! I would appreciate it if theme could be supported

Describe the solution

support dark and light resources like android

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

shanbelileh avatar Oct 23 '22 07:10 shanbelileh

@shanbelileh Do you have any ideas about this?

wasabeef avatar Nov 14 '22 02:11 wasabeef

you can get some good inspiration from flutter_localizations package that use abstract class and any locale implement that and naming protocol for resource folders like theme_dark and theme_light etc. thanks @wasabeef

shanbelileh avatar Nov 15 '22 08:11 shanbelileh

+1 would like this.

danielc1272 avatar Mar 09 '23 13:03 danielc1272