add method
void
add()
Implementation
void add() {
pathWidgets.add(
SinglePath(
key: ObjectKey(widget.control!.paths.last!.id),
path: widget.control!.paths.last,
onSize: widget.onSize,
type: widget.control!.type,
),
);
refreshState();
}