code: public static <S> Node createStyledTextNode(String text, S style,
                                                  BiConsumer<? super TextExt, S> applyStyle) {
  
          TextExt t = new TextExt(text);
          t.setTextOrigin(VPos.TOP);
          t.getStyleClass().add("text");
          applyStyle.accept(t, style);
          return t;
      }
docs: Creates a {@link TextExt} node using the given styled text.