randomColor static method

Color randomColor()

Implementation

static Color randomColor() {
  return Color((Random().nextDouble() * 0xFFFFFF).toInt() << 0)
      .withOpacity(1.0);
}