MaterialPropertyResolver<T> typedef Null safety

MaterialPropertyResolver<T> = T Function(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);