This widget is used to create items in a list from a list.
Last updated 2 years ago
We need to create a list
List<String> litems = ["1","2","Third","4"];
2. We create the ListView.builder
body: new ListView.builder ( itemCount: litems.length, itemBuilder: (BuildContext ctxt, int index) { return new Text(litems[index]); } )
more info in