MaterialStatePropertyAll<T> typedef

  1. @Deprecated('Use WidgetStatePropertyAll instead. ' 'Moved to the Widgets layer to make code available outside of Material. ' 'This feature was deprecated after v3.19.0-0.3.pre.')
MaterialStatePropertyAll<T> = WidgetStatePropertyAll<T>

Convenience class for creating a MaterialStateProperty that resolves to the given value for all states.

See also:

  • WidgetStatePropertyAll, the non-Material version that can be used interchangeably with MaterialStatePropertyAll.

Implementation

@Deprecated(
  'Use WidgetStatePropertyAll 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 MaterialStatePropertyAll<T> = WidgetStatePropertyAll<T>;