create static method
Factory for creating cross glyphs.
Implementation
static CrossGlyph create({
required double x,
required double y,
double size = 8,
Color color = const Color(0xFF000000),
Color? strokeColor,
double strokeWidth = 1.0,
double thickness = 0.3,
}) {
return CrossGlyph(
x: x,
y: y,
size: size,
color: color,
strokeColor: strokeColor,
strokeWidth: strokeWidth,
thickness: thickness,
);
}