rndColor static method

Color rndColor()

Random Color from Colors.primaries

Implementation

static Color rndColor() =>
    Color((random.nextDouble() * 0xFFFFFF).toInt()).withOpacity(1.0);