MaterialStateColorResolver typedef

Color MaterialStateColorResolver (Set<MaterialState> states)

Signature for the function that returns a color based on a given set of states.

Implementation

typedef MaterialStateColorResolver = Color Function(Set<MaterialState> states);