ImageMapRegion.fromCircle constructor
ImageMapRegion.fromCircle({})
Implementation
factory ImageMapRegion.fromCircle({
required Offset center,
required double radius,
Color? color,
String? title,
String? link,
}) {
return ImageMapRegion(
shape: ImageMapShape.circle,
path: Path()
..addOval(
Rect.fromCircle(
center: center,
radius: radius,
),
),
color: color ?? Colors.transparent,
title: title,
link: link,
);
}