onPressed property

(void Function()?) onPressed
final

Action that is performed when the widget is clicked.

Implementation

final void Function()? onPressed;