onPressed property

dynamic Function()? onPressed
final

The action.

Implementation

final Function()? onPressed;