onPressed property

VoidCallback? onPressed
final

Called when the control is pressed.

Implementation

final VoidCallback? onPressed;