onPressed property

dynamic Function() onPressed
final

onPressed is the event triggerd when button is pressed/clicked

Implementation

final Function() onPressed;