onPressed property

dynamic Function()? onPressed
final

Callback when the button is tapped.

Implementation

final Function()? onPressed;