Preview constructor

Preview({
  1. required Size nativePreviewSize,
  2. required Size previewSize,
  3. required Offset offset,
  4. required double scale,
  5. required Sensor? sensor,
})

Implementation

Preview({
  required this.nativePreviewSize,
  required this.previewSize,
  required this.offset,
  required this.scale,
  required this.sensor,
});