NiceSpatialNavigator constructor

const NiceSpatialNavigator({
  1. Key? key,
  2. required List<NiceFloor> floors,
  3. String? initialFloorId,
  4. Offset? currentLocation,
  5. bool showSearch = true,
  6. bool showFloorSelector = true,
  7. bool showMinimap = false,
  8. bool enableRoutePlanning = true,
  9. ValueChanged<NiceNavigationRoute?>? onRouteCalculated,
  10. ValueChanged<NiceReferencePoint>? onLocationTapped,
  11. ValueChanged<NiceZone>? onZoneTapped,
  12. List<NiceReferencePoint> referencePoints = const [],
  13. Color? routeColor,
  14. Color? startMarkerColor,
  15. Color? endMarkerColor,
  16. 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,
});