onPressed property

VoidCallback onPressed
final

Callback on click event

Implementation

final VoidCallback onPressed;