MaterialPropertyResolver<T> typedef Null safety

T MaterialPropertyResolver<T>(
  1. 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);