ArViewer constructor
const
ArViewer({
- Key? key,
- required List<
ArAnnotation> annotations, - required AnnotationViewerBuilder annotationViewerBuilder,
- required Size frame,
- required ChangeLocationCallback onLocationChange,
- double annotationWidth = 200,
- double annotationHeight = 75,
- double maxVisibleDistance = 1500,
- bool showDebugInfoSensor = true,
- double paddingOverlap = 5,
- double? yOffsetOverlap,
- String tooFarAnnotationsMessage = 'No annotations visible',
- required double minDistanceReload,
- 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,
});