onClick property

VoidCallback? onClick
final

A callback to perform when the widget is clicked.

Implementation

final VoidCallback? onClick;