onPressed property

VoidCallback? onPressed
final

The press callback

Implementation

final VoidCallback? onPressed;