discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

layoutInView function

HostLayout? layoutInView(
  1. ParametricView view,
  2. Handle host
)

host's layout through the view adapter (wallsInView). Null when host is not a live wall or is degenerate.

Implementation

HostLayout? layoutInView(ParametricView view, Handle host) {
  final w = wallsInView(view, host);
  return w == null ? null : layoutOf(w.host, w.walls);
}