onClick method

Material onClick(
  1. GestureTapCallback? onClick
)

Implementation

Material onClick(GestureTapCallback? onClick) => action(onClick: onClick);