MaterialPropertyResolver<T> typedef

  1. @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.')
MaterialPropertyResolver<T> = WidgetPropertyResolver<T>

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.

Implementation

@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.'
)
typedef MaterialPropertyResolver<T> = WidgetPropertyResolver<T>;