code: public static FlowPanel newFlowPanel (String styleName, Widget... contents)
      {
          FlowPanel panel = new FlowPanel();
          for (Widget child : contents) {
              if (child != null) {
                  panel.add(child);
              }
          }
          return setStyleNames(panel, styleName);
      }
docs: Creates a FlowPanel with the provided style and widgets.