NiceVectorMap constructor

const NiceVectorMap({
  1. Key? key,
  2. required List<NiceMapRegion> regions,
  3. double height = 300,
  4. void onRegionTap(
    1. NiceMapRegion region
    )?,
  5. String? title,
  6. String tooltipBuilder(
    1. NiceMapRegion region
    )?,
  7. Color? backgroundColor,
  8. bool showLabels = true,
  9. double minBubbleSize = 10,
  10. double maxBubbleSize = 50,
})

Implementation

const NiceVectorMap({
  super.key,
  required this.regions,
  this.height = 300,
  this.onRegionTap,
  this.title,
  this.tooltipBuilder,
  this.backgroundColor,
  this.showLabels = true,
  this.minBubbleSize = 10,
  this.maxBubbleSize = 50,
});