IndexedColorValueMapper typedef Null safety

IndexedColorValueMapper = dynamic Function(int index)

Signature to return the colors or other types from the data source based on the index based on which colors will be applied.

Implementation

typedef IndexedColorValueMapper = dynamic Function(int index);