MarkerIcon constructor

const MarkerIcon({
  1. Icon? icon,
  2. AssetMarker? assetMarker,
  3. Widget? iconWidget,
  4. Key? key,
})

Implementation

const MarkerIcon({
  this.icon,
  this.assetMarker,
  this.iconWidget,
  super.key,
}) : assert((icon != null && assetMarker == null && iconWidget == null) ||
          (iconWidget != null && assetMarker == null && icon == null) ||
          (assetMarker != null && icon == null && iconWidget == null));