onPressed property

VoidCallback? onPressed
final

Called when the comms button is tapped or otherwise activated.

Setting this to null will disable the widget.

Implementation

final VoidCallback? onPressed;