onPressed property

VoidCallback onPressed
final

Function to call when the action is triggered.

Implementation

final VoidCallback onPressed;