showColorName property Null safety

bool showColorName

Set to true to show an English color name of the selected color.

Uses the ColorTools.nameThatColor function to give an English name to any selected color. The function has a list of 1566 color codes and their names, it finds the color that closest matches the given color in the list and returns its color name.

Defaults to false.


final bool showColorName;