MaterialPropertyResolver<T> typedef
Null safety
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);