onToggle property

ValueChanged<bool>? onToggle
final

Called when the comms button is toggled. If null, the comms button will not be toggleable.

Implementation

final ValueChanged<bool>? onToggle;