color static method

Color color()

Generate a random color.

Implementation

static Color color() {
  return Color.fromARGB(
    _random.nextInt(256),
    _random.nextInt(256),
    _random.nextInt(256),
    _random.nextInt(256),
  );
}