createPath method
Returns the path for this glyph shape centered at origin.
Implementation
@override
Path createPath() {
final half = size / 2;
final path = Path();
path.moveTo(0, -half); // Top
path.lineTo(half, 0); // Right
path.lineTo(0, half); // Bottom
path.lineTo(-half, 0); // Left
path.close();
return path;
}