MaterialState typedef

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

Interactive states that some of the Material widgets can take on when receiving input from the user.

States are defined by https://material.io/design/interaction/states.html#usage.

Some Material widgets track their current state in a Set<MaterialState>.

See also:

Implementation

@Deprecated(
  'Use WidgetState 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 MaterialState = WidgetState;