blackAndWhiteNames property

Map<ColorSwatch<Object>, String> blackAndWhiteNames
getter/setter pair

Map of black and white swatches, with their near black and white colors to the black and white swatch names.

Use blackShade or whiteShade swatch as key to get its current name string.

Implementation

static Map<ColorSwatch<Object>, String> blackAndWhiteNames =
    <ColorSwatch<Object>, String>{
  blackShade: blackShadeName,
  whiteShade: whiteShadeName,
};