CircleArea constructor

CircleArea({
  1. required LatLng center,
  2. required double radius,
  3. Color? fillColor,
  4. Color? strokeColor,
  5. int strokeWidth = 2,
})

Implementation

CircleArea({
  required LatLng center,
  required double radius,
  Color? fillColor,
  Color? strokeColor,
  int strokeWidth = 2,
}) : super(
        circleId: CircleId(Uuid().v4()),
        center: center,
        radius: radius,
        fillColor: fillColor ?? Colors.blue.withAlpha(32),
        strokeColor: strokeColor ?? Colors.blue.withAlpha(192),
        strokeWidth: strokeWidth,
      );