MapView constructor

const MapView({
  1. required Key key,
  2. required MapViewConfiguration configuration,
  3. required MapViewCallback onLoad,
  4. OnMapViewErrorCallback? onError,
  5. MapViewCallback? didUpdateCallback,
})

MapView is the main component and entry point for Situm Flutter Wayfinding. This widget will load your Situm building on a map, based on the given MapViewConfiguration.

Implementation

const MapView({
  required Key key,
  required this.configuration,
  required this.onLoad,
  this.onError,
  this.didUpdateCallback,
}) : super(key: key);