onPressed property
The callback function that will be called when button is clicked.
If onComplete is null, then onPressed will be called when button is completely covered.
Implementation
final VoidCallback onPressed;
The callback function that will be called when button is clicked.
If onComplete is null, then onPressed will be called when button is completely covered.
final VoidCallback onPressed;