createHorizontalPath method
Creates path for horizontal (-
) segments.
Implementation
@override
Path createHorizontalPath(SegmentPosition position, Size segmentSize) {
return Path()
..addRect(
Rect.fromLTWH(
position.left,
position.top,
segmentSize.height,
segmentSize.width,
),
);
}