onClick property

VoidCallback? onClick
final

Callback fired when the button is clicked.

Implementation

final VoidCallback? onClick;