random class flutter generate color code example
Example: flutter generate random color
color: Colors.primaries[Random().nextInt(Colors.primaries.length)],
or
use package random_color 1.0.5
color: Colors.primaries[Random().nextInt(Colors.primaries.length)],
or
use package random_color 1.0.5