generatePath method
Implementation
Path generatePath({bool? useBezier, required Rect rect}) {
final width = rect.width;
final height = rect.height;
return Path()
..moveTo(0, percentLeft * height)
..lineTo(percentBottom * width, height)
..lineTo(width, percentRight * height)
..close();
}