Flutter dart add list to children

Posted by Jennifer | Updated on

Flutter dart add list to children. You ListView is having Text(Widget) and a Array of ListTile(Array of Widgets) which means ListView(children: [Widget, [Widget]]).

But it should be ListView(children: [Widget1, Widget2, Widget3,…]). Below code might help

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers