colors property

List<Color> colors
final

List of bar colors.

Please note, that list of colors must contain either 1 color or quantity that is equal to bar quantity in an item.

If only 1 color is provided and bar quantity is greater than 1 - every subsequent bar will be using base color with opacity.

Defaults to [Color(0xFFFFFFFF)].

Implementation

final List<Color> colors;