randomColor property
MaterialColor
randomColor
Implementation
MaterialColor get randomColor => Colors.primaries[Random().nextInt(17)];
MaterialColor get randomColor => Colors.primaries[Random().nextInt(17)];