create static method
Factory for creating triangle glyphs.
Implementation
static TriangleGlyph create({
required double x,
required double y,
double size = 8,
Color color = const Color(0xFF000000),
Color? strokeColor,
double strokeWidth = 1.0,
bool pointUp = true,
}) {
return TriangleGlyph(
x: x,
y: y,
size: size,
color: color,
strokeColor: strokeColor,
strokeWidth: strokeWidth,
pointUp: pointUp,
);
}