makeWidgetTree static method

void makeWidgetTree(
  1. BuildContext context
)

Implementation

static void makeWidgetTree(BuildContext context) {
  BodyTagUtil.init();
  _htmlWidgets.clear();
  final element = context as Element;
  _setWidgetTree(element);
  List<ElementModel> elementList = _htmlWidgets
      .map((e) => ElementModel(e.depth, _setElement(e.widget)))
      .toList();

  _createHtml(elementList);
}