onClick property

void Function(Event)? onClick
final

Callback for the click event.

Implementation

final void Function(Event)? onClick;