onClick property

Function onClick
final

What to do if the button is clicked

Implementation

final Function onClick;