resolveWith<T> method
Null safety
- MaterialPropertyResolver<
T> callback
Convenience method for creating a MaterialStateProperty from a MaterialPropertyResolver function alone.
Implementation
static MaterialStateProperty<T> resolveWith<T>(MaterialPropertyResolver<T> callback) => _MaterialStatePropertyWith<T>(callback);