ArcaneMap constructor

const ArcaneMap({
  1. MapType type = MapType.world,
  2. List<MapLocation> locations = const [],
  3. MapLocationCallback? onLocationTap,
  4. MapLocationCallback? onLocationHover,
  5. Widget tooltipBuilder(
    1. MapLocation
    )?,
  6. MapStyle style = const MapStyle(),
  7. bool showTooltips = true,
  8. String? height,
  9. bool debugMode = false,
  10. String? svgUrl,
  11. Key? key,
})

Implementation

const ArcaneMap({
  this.type = MapType.world,
  this.locations = const [],
  this.onLocationTap,
  this.onLocationHover,
  this.tooltipBuilder,
  this.style = const MapStyle(),
  this.showTooltips = true,
  this.height,
  this.debugMode = false,
  this.svgUrl,
  super.key,
});