MapLibreMap constructor

const MapLibreMap({
  1. MapOptions options = const MapOptions(),
  2. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  3. MapCreatedCallback? onMapCreated,
  4. StyleLoadedCallback? onStyleLoaded,
  5. MapEventCallback? onEvent,
  6. List<Layer<GeometryType<Object>>> layers = const [],
  7. List<Widget> children = const [],
  8. Key? key,
})

Default constructor to create a new MapLibreMap widget with its properties.

Implementation

const MapLibreMap({
  this.options = const MapOptions(),
  this.gestureRecognizers,
  this.onMapCreated,
  this.onStyleLoaded,
  this.onEvent,
  this.layers = const [],
  this.children = const [],
  super.key,
});