MaterialPropertyResolver<T> typedef

T MaterialPropertyResolver (Set<MaterialState> states)

Signature for the function that returns a value of type T based on a given set of states.

Implementation

typedef MaterialPropertyResolver<T> = T Function(Set<MaterialState> states);