onPressed property

VoidCallback? onPressed
final

Action to perform when the widget is clicked.

Implementation

final VoidCallback? onPressed;