ArcaneMap constructor

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

Implementation

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