AwesomeCameraFloatingPreview constructor

AwesomeCameraFloatingPreview({
  1. Key? key,
  2. required int index,
  3. required Sensor sensor,
  4. required Texture texture,
  5. required double aspectRatio,
  6. PictureInPictureConfig? pictureInPictureConfig,
})

Implementation

AwesomeCameraFloatingPreview({
  super.key,
  required this.index,
  required this.sensor,
  required this.texture,
  required this.aspectRatio,
  PictureInPictureConfig? pictureInPictureConfig,
}) : pictureInPictureConfig = pictureInPictureConfig ?? PictureInPictureConfig(sensor: sensor);