Skip to content

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