onPressed property

(void Function(BuildContext)?) onPressed
final

Function called on press of the widget.

Implementation

final void Function(BuildContext)? onPressed;