Home > Software design >  Flutter ColorScheme and Appainter - how to get PrimaryColorLight?
Flutter ColorScheme and Appainter - how to get PrimaryColorLight?

Time:08-12

I have theme designed in enter image description here

enter image description here

CodePudding user response:

primaryColorLight is not available in colorScheme. You can access it directly from theme context

Theme.of(context).primaryColorLight
  • Related