CameraPlayer constructor

const CameraPlayer({
  1. Key? key,
  2. required String uuid,
  3. required String pass,
  4. int width = 1280,
  5. int height = 720,
  6. int mic = 1,
  7. int sound = 1,
  8. int type = 0,
  9. dynamic onPlatformViewCreated(
    1. int
    )?,
})

Implementation

const CameraPlayer({
  super.key,
  required this.uuid,
  required this.pass,
  this.width = 1280,
  this.height = 720,
  this.mic = 1,
  this.sound = 1,
  this.type = 0,
  this.onPlatformViewCreated
});