Skip to content
pubscout

ar_location_view

3.3.0, released 3 days ago by an unverified publisher

Location-based augmented reality labels overlaying the camera preview for points of interest.

WASM-ready
$ flutter pub add ar_location_view
Source repository

What it does

Shows geolocated points of interest as labels over the camera preview, matched to the device's 3D orientation. Automatically stacks overlapping labels and handles smoothed compass and GPS filters.

AI-written summary of version 3.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building an AR experience centered around static geolocated points of interest
  • Displaying directional labels over a live camera preview based on user location and compass heading

Skip it when

  • Needing general interactive map rendering without camera overlays
  • Apps that do not require device sensors or geolocation permissions

Strengths

  • Automatic vertical stacking of overlapping labels with stable positioning
  • Configurable smoothed compass and GPS attitude/location filters
  • Includes built-in radar and customizable annotation views

Weaknesses

  • Requires proper native permission configuration and specific iOS/Android setup
  • Depends heavily on device hardware capabilities like compass, gyroscope, and GPS

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
5

Requires adding camera and location usage descriptions to iOS Info.plist and Podfile preprocessor definitions. Android SDK configuration might be needed depending on the permission_handler version.

ArLocationWidget(
  annotations: pois,
  annotationWidth: 180,
  annotationHeight: 60,
  annotationViewBuilder: (context, annotation) {
    final poi = annotation as Poi;
    return Card(
      child: ListTile(
        title: Text(poi.name),
        subtitle: Text('${poi.distanceFromUser.round()} m'),
      ),
    );
  },
  onLocationChange: (position) => loadPoisAround(position),
)

Alternatives

Packages that do the same job and could replace ar_location_view.

Works with

Packages commonly used together with ar_location_view: ones it builds on, ones built on it, and its own family.