Best way to store two different color for element and change both when theme changed in flutter?

前端 未结 0 899
遥遥无期
遥遥无期 2021-01-29 03:51

I\'m try to understand how to store and change a two different color for button in light and dark theme:

/// light
ThemeData lightTheme() => ThemeData(
    bri         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题