enableLightness property

bool enableLightness
final

Enable the lightness control for the color value.

Set to true to allow users to control the lightness value of the selected color. The displayed lightness value on the slider goes from 0%, which is totally black, to 100%, which if fully white.

Defaults to false.

Implementation

final bool enableLightness;