randomColor static method
Implementation
static Color randomColor() {
var generatedColor = Random().nextInt(Colors.primaries.length);
return Colors.primaries[generatedColor];
}
static Color randomColor() {
var generatedColor = Random().nextInt(Colors.primaries.length);
return Colors.primaries[generatedColor];
}