ArViewer constructor

const ArViewer({
  1. Key? key,
  2. required List<ArAnnotation> annotations,
  3. required AnnotationViewerBuilder annotationViewerBuilder,
  4. required Size frame,
  5. required ChangeLocationCallback onLocationChange,
  6. double annotationWidth = 200,
  7. double annotationHeight = 75,
  8. double maxVisibleDistance = 1500,
  9. bool showDebugInfoSensor = true,
  10. double paddingOverlap = 5,
  11. double? yOffsetOverlap,
  12. String tooFarAnnotationsMessage = 'No annotations visible',
  13. required double minDistanceReload,
  14. CameraController? cameraController,
})

Implementation

const ArViewer({
  super.key,
  required this.annotations,
  required this.annotationViewerBuilder,
  required this.frame,
  required this.onLocationChange,
  this.annotationWidth = 200,
  this.annotationHeight = 75,
  this.maxVisibleDistance = 1500,
  this.showDebugInfoSensor = true,
  this.paddingOverlap = 5,
  this.yOffsetOverlap,
  this.tooFarAnnotationsMessage = 'No annotations visible',
  required this.minDistanceReload,
  this.cameraController,
});