colors property
read / write
Creating a map that maps the integer values of the cross to the colors that they should be displayed as.
Implementation
Map<int, CupertinoDynamicColor> colors = <int, CupertinoDynamicColor>{
0: CupertinoColors.systemGrey,
1: CupertinoColors.systemGreen,
2: CupertinoColors.systemRed,
3: CupertinoColors.systemBlue,
4: CupertinoColors.systemYellow,
};