onPressed property

VoidCallback onPressed
final

Sets triggered action when button is pressed.

Implementation

final VoidCallback onPressed;