AssetConstants constructor

AssetConstants(
  1. Brightness brightness
)

Implementation

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