GroupSectors constructor

GroupSectors(
  1. int nbElements,
  2. Color? sectorColor, {
  3. String? description,
})

Creates a group of dots a.k.a sector that has the same color :

nbElements is the number of elements that should be colored that way.

sectorColor is the color of the group.

description is a nullable String used in the Legend if displayed. If not provided, replaced by the sectorColor description #RRGGBB.

Implementation

GroupSectors(this.nbElements, this.sectorColor, {this.description});