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
path.addRect(Rect.fromLTRB(-half, -armWidth, half, armWidth));
// Vertical arm
path.addRect(Rect.fromLTRB(-armWidth, -half, armWidth, half));
return path;
}