M3EStateWidgetBuilder typedef

M3EStateWidgetBuilder = Widget Function(BuildContext context, M3EInteractionState state)

Builds the visual for a tappable surface given its interaction state.

Implementation

typedef M3EStateWidgetBuilder = Widget Function(
  BuildContext context,
  M3EInteractionState state,
);