drawRectangle function
Draw the Rectangle shape marker
Implementation
void drawRectangle(Path path, double x, double y, double width, double height) {
path.addRect(Rect.fromLTRB(
x - width / 2, y - height / 2, x + width / 2, y + height / 2));
}