ThemedColor constructor Null safety
Create a themed color for each of the variants.
Defines light as color to be used in Theme with Brightness.light.
Defines dark as color to be used in Theme with Brightness.dark.
Implementation
const ThemedColor({
required Color light,
required Color dark,
}) : _light = light,
_dark = dark;