addColor method
Adds a color to the colors array of the DataSet.
@param color
Implementation
void addColor(ui.Color color) {
_colors ??= List.empty(growable: true);
_colors!.add(color);
}
Adds a color to the colors array of the DataSet.
@param color
void addColor(ui.Color color) {
_colors ??= List.empty(growable: true);
_colors!.add(color);
}