Flutter – How to get white color when on dark theme and dark color when on light theme?
In my app, I specified a light and dark theme. I want to create a button that is white on dark theme and black on light theme. Is there a way to get those colors conditionally like Theme.of(context).somethingHere? class _MainState…