onPressed property

Function onPressed
final

onPressed Defines the button's click callback

Implementation

final Function onPressed;