onClick property

VoidCallback? onClick
final

Void Function for Button click

Implementation

final VoidCallback? onClick;