UArGeoView constructor
const
UArGeoView({
- required List<
UArPlace> places, - UArConfig config = const UArConfig(mode: UArMode.geo, planeDetection: UArPlaneDetection.horizontal, planeStyle: UArPlaneStyle.hidden, coachingGoal: UArCoachingGoal.tracking),
- double maxDistance = 800,
- int maxVisible = 20,
- Widget cardBuilder(
- BuildContext context,
- UArPlace place,
- double distance,
- UArProjection projection,
- Widget edgeIndicatorBuilder(
- BuildContext context,
- UArPlace place,
- double distance,
- bool left,
- bool showEdgeIndicators = true,
- bool showCompass = true,
- bool stackCards = true,
- Size cardSize = const Size(230, 86),
- Duration refreshInterval = const Duration(seconds: 20),
- void onPlaceTap(
- UArPlace place
- UArLabels labels = const UArLabels(),
- UArStyle style = const UArStyle(),
- bool showCloseButton = true,
- Key? key,
Implementation
const UArGeoView({
required this.places,
this.config = const UArConfig(mode: UArMode.geo, planeDetection: UArPlaneDetection.horizontal, planeStyle: UArPlaneStyle.hidden, coachingGoal: UArCoachingGoal.tracking),
this.maxDistance = 800,
this.maxVisible = 20,
this.cardBuilder,
this.edgeIndicatorBuilder,
this.showEdgeIndicators = true,
this.showCompass = true,
this.stackCards = true,
this.cardSize = const Size(230, 86),
this.refreshInterval = const Duration(seconds: 20),
this.onPlaceTap,
this.labels = const UArLabels(),
this.style = const UArStyle(),
this.showCloseButton = true,
super.key,
});