nodeListToWidget method

Widget nodeListToWidget(
  1. List? nodes
)

nodeListToWidget renders the Widget tree from the data nodes

Implementation

Widget nodeListToWidget(List<dynamic>? nodes) {
  return Column(
    mainAxisAlignment: MainAxisAlignment.start,
    crossAxisAlignment: CrossAxisAlignment.start,
    children: nodes?.map<Widget>((node) => nodeToWidget(node)).toList() ?? [],
  );
}