onPressed property

VoidCallback? onPressed
final

Handles the VoidCallback whenever an action is pressed.

Implementation

final VoidCallback? onPressed;