randomColor property

MaterialColor randomColor

Implementation

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