onPressed property

VoidCallback onPressed
final

Provide the callback function which will run when the action FAB is pressed

Implementation

final VoidCallback onPressed;