chartColor static method

Color chartColor(
  1. Color? color
)

Implementation

static charts.Color chartColor(Color? color) {
  return charts.ColorUtil.fromDartColor(color ?? randomColor());
}