colors property
read / write
The code Map<int, Styles> colors = <int, Styles>{...}; is creating a map
called colors that maps integers to Styles objects. The keys of the map
are integers, and the values are Styles objects. Each integer represents a
color code, and the corresponding Styles object represents the color
associated with that code.
Implementation
Map<int, Styles> colors = <int, Styles>{
0: Styles.WHITE,
1: Styles.GREEN,
2: Styles.RED,
3: Styles.BLUE,
4: Styles.YELLOW,
};