Question : How to get theme color inside the widget in Flutter
Answered by : grumpy-goldfinch-odsco20qj8jc
Color color = Theme.of(context).primaryColor;
Source : https://stackoverflow.com/questions/57494020/how-to-get-theme-color-inside-the-widget-in-flutter | Last Update : Sat, 21 Aug 21