switchCameraIcon property

Widget? switchCameraIcon
getter/setter pair

The icon for the switch camera button.

You can customize the icon for the switch camera button as shown in the example below:

ZegoLiveStreamingPreviewConfig(
  switchCameraIcon: Icon(Icons.switch_camera),
);

Implementation

Widget? switchCameraIcon;