onClick property

VoidCallback? onClick
final

Callback for the 'click' event. This will override the default behavior of the link and not visit href when clicked.

Implementation

final VoidCallback? onClick;