SitumMapView constructor

const SitumMapView({
  1. required Key key,
  2. required String situmUser,
  3. required String situmApiKey,
  4. required String buildingIdentifier,
  5. required SitumMapViewCallback loadCallback,
  6. String googleMapsApiKey = "",
  7. SitumMapViewCallback? didUpdateCallback,
  8. bool useHybridComponents = true,
  9. TextDirection directionality = TextDirection.ltr,
  10. bool enablePoiClustering = true,
  11. String searchViewPlaceholder = "Situm Flutter Wayfinding",
  12. bool useDashboardTheme = true,
  13. bool showPoiNames = true,
  14. bool hasSearchView = true,
  15. bool lockCameraToBuilding = false,
  16. bool useRemoteConfig = true,
  17. int initialZoom = 18,
  18. int minZoom = 15,
  19. int maxZoom = 21,
  20. bool showNavigationIndications = true,
  21. bool showFloorSelector = true,
  22. bool showPositioningButton = true,
  23. NavigationSettings? navigationSettings,
  24. DirectionsSettings? directionsSettings,
})

Implementation

const SitumMapView({
  required Key key,
  required this.situmUser,
  required this.situmApiKey,
  required this.buildingIdentifier,
  required this.loadCallback,
  this.googleMapsApiKey = "",
  this.didUpdateCallback,
  this.useHybridComponents = true,
  this.directionality = TextDirection.ltr,
  this.enablePoiClustering = true,
  this.searchViewPlaceholder = "Situm Flutter Wayfinding",
  this.useDashboardTheme = true,
  this.showPoiNames = true,
  this.hasSearchView = true,
  this.lockCameraToBuilding = false,
  this.useRemoteConfig = true,
  this.initialZoom = 18,
  this.minZoom = 15,
  this.maxZoom = 21,
  this.showNavigationIndications = true,
  this.showFloorSelector = true,
  this.showPositioningButton = true,
  this.navigationSettings,
  this.directionsSettings,
}) : super(key: key);