colorCodeHasColor property

bool colorCodeHasColor
final

If true then the background of the color code entry field uses the current selected color.

This makes the color code entry field a larger current color indicator area that changes color as the color value is changed. The text color of the filed will adjust to for best contrast as will the opacity indicator text. Enabling this feature will override any color specified in textStyle and prefixStyle but their styles will otherwise be kept as specified.

Defaults to false.

Implementation

final bool colorCodeHasColor;