color property

Color? color
final

If provided, this HorizontalRangeAnnotation draws with this color Otherwise we use gradient to draw the background. It draws with gradient if you provide both color and gradient. If none is provided, it draws with a white color.

Implementation

final Color? color;