avatarColors top-level property

List<Color> avatarColors
getter/setter pair

This list contains colors for the avatar A random color gets picked based on the first alphabet of the name

Implementation

List<Color> avatarColors = [
  Colors.purple,
  Colors.orange,
  Colors.teal,
  Colors.pink,
  Colors.blue,
  Colors.blueGrey,
  Colors.brown,
  Colors.indigo,
];