NiceSpatialNavigator constructor
const
NiceSpatialNavigator({
- Key? key,
- required List<
NiceFloor> floors, - String? initialFloorId,
- Offset? currentLocation,
- bool showSearch = true,
- bool showFloorSelector = true,
- bool showMinimap = false,
- bool enableRoutePlanning = true,
- ValueChanged<
NiceNavigationRoute?> ? onRouteCalculated, - ValueChanged<
NiceReferencePoint> ? onLocationTapped, - ValueChanged<
NiceZone> ? onZoneTapped, - List<
NiceReferencePoint> referencePoints = const [], - Color? routeColor,
- Color? startMarkerColor,
- Color? endMarkerColor,
- Color? currentLocationColor,
Implementation
const NiceSpatialNavigator({
super.key,
required this.floors,
this.initialFloorId,
this.currentLocation,
this.showSearch = true,
this.showFloorSelector = true,
this.showMinimap = false,
this.enableRoutePlanning = true,
this.onRouteCalculated,
this.onLocationTapped,
this.onZoneTapped,
this.referencePoints = const [],
this.routeColor,
this.startMarkerColor,
this.endMarkerColor,
this.currentLocationColor,
});