Skip to content

Darktheme thememode #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

skully-coder
Copy link

Darktheme using themedata

@masteradit
Copy link
Owner

Looks like the initial approach of using setState to change the theme didn't work. I was looking at ways to implement this without using any state management tool (like provider) when I came across this article: https://itnext.io/an-easy-way-to-switch-between-dark-and-light-theme-in-flutter-fb971155eefe. I think this explains exactly what we are looking for.

On a side note, I think you can just add more commits to darktheme-thememode branch on skully-coder/AllSQL instead of creating a new PR.

@skully-coder
Copy link
Author

Hey @masteradit check it now, It should work

@skully-coder
Copy link
Author

@masteradit are you merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants