colors property
A map of color schemes for different UI elements in light and dark modes.
Implementation
Map<String, dynamic> colors = {
"AppBar": {
"light": CustomColors.appBar,
"dark": CustomColors.appBarDark,
},
"Background": {
"light": CustomColors.background,
"dark": CustomColors.backgroundDark,
},
"Dark": {
"light": CustomColors.dark,
"dark": CustomColors.darkDark,
},
"InvertedDark": {
"light": CustomColors.dark,
"dark": CustomColors.appBar,
},
"Light": {
"light": CustomColors.light,
"dark": CustomColors.lightDark,
},
"Text": {
"light": Colors.black,
"dark": Colors.white,
},
"InvertedText": {
"light": Colors.white,
"dark": Colors.black,
},
};