onChanged property

void Function(DeviceDetails)? onChanged
final

Callback, called when the selected output device changes.

Implementation

final void Function(DeviceDetails)? onChanged;