rndColor static method
Random Color
from Colors.primaries
Implementation
static Color rndColor() =>
Color((random.nextDouble() * 0xFFFFFF).toInt()).withOpacity(1.0);
Random Color
from Colors.primaries
static Color rndColor() =>
Color((random.nextDouble() * 0xFFFFFF).toInt()).withOpacity(1.0);