Skip to main content

MaterialPropertyResolver

Type Alias MaterialPropertyResolver 

Source
pub type MaterialPropertyResolver<T> = WidgetPropertyResolver<T>;
๐Ÿ‘ŽDeprecated:

Use WidgetPropertyResolver instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

Expand description

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

See also:

  • WidgetPropertyResolver, the non-Material form of MaterialPropertyResolver that can be used interchangeably with MaterialPropertyResolver.

Aliased Typeยง

pub struct MaterialPropertyResolver<T> { /* private fields */ }