AssetConstants constructor
AssetConstants(
- Brightness brightness
Implementation
AssetConstants(Brightness brightness) {
_mode = brightness == Brightness.light ? "light" : "dark";
}
AssetConstants(Brightness brightness) {
_mode = brightness == Brightness.light ? "light" : "dark";
}