ArLocationWidget constructor

const ArLocationWidget({
  1. Key? key,
  2. required List<ArAnnotation> annotations,
  3. required AnnotationViewBuilder annotationViewBuilder,
  4. required ChangeLocationCallback onLocationChange,
  5. double annotationWidth = 200,
  6. double annotationHeight = 75,
  7. double maxVisibleDistance = 1500,
  8. Size? frame,
  9. bool showDebugInfoSensor = true,
  10. double paddingOverlap = 5,
  11. double? yOffsetOverlap,
  12. Widget? accessory,
  13. double minDistanceReload = 50,
  14. bool scaleWithDistance = true,
  15. Color? markerColor,
  16. Color? backgroundRadar,
  17. RadarPosition? radarPosition,
  18. bool showRadar = true,
  19. double? radarWidth,
})

Implementation

const ArLocationWidget({
  super.key,
  required this.annotations,
  required this.annotationViewBuilder,
  required this.onLocationChange,
  this.annotationWidth = 200,
  this.annotationHeight = 75,
  this.maxVisibleDistance = 1500,
  this.frame,
  this.showDebugInfoSensor = true,
  this.paddingOverlap = 5,
  this.yOffsetOverlap,
  this.accessory,
  this.minDistanceReload = 50,
  this.scaleWithDistance = true,
  this.markerColor,
  this.backgroundRadar,
  this.radarPosition,
  this.showRadar = true,
  this.radarWidth,
});