create static method

CircleGlyph create({
  1. required double x,
  2. required double y,
  3. double size = 8,
  4. Color color = const Color(0xFF000000),
  5. Color? strokeColor,
  6. double strokeWidth = 1.0,
})

Factory for creating circle glyphs.

Implementation

static CircleGlyph create({
  required double x,
  required double y,
  double size = 8,
  Color color = const Color(0xFF000000),
  Color? strokeColor,
  double strokeWidth = 1.0,
}) {
  return CircleGlyph(
    x: x,
    y: y,
    size: size,
    color: color,
    strokeColor: strokeColor,
    strokeWidth: strokeWidth,
  );
}