onPressed property

VoidCallback? onPressed
final

Optional Callback function

Implementation

final VoidCallback? onPressed;