onPressed property

VoidCallback onPressed
final

The function that will be executed after a click on the link.

Implementation

final VoidCallback onPressed;