createPath method
Returns the path for this glyph shape centered at origin.
Implementation
@override
Path createPath() {
final half = size / 2;
final armWidth = size * thickness / 2;
final path = Path();
// Horizontal arm (will be rotated 45 degrees)
path.addRect(Rect.fromLTRB(-half, -armWidth, half, armWidth));
// Vertical arm (will be rotated 45 degrees)
path.addRect(Rect.fromLTRB(-armWidth, -half, armWidth, half));
return path;
}