onPressed property

(void Function()?) onPressed
final

Called when the user press this button.

Implementation

final void Function()? onPressed;