ListView.builder( itemCount: snapshot.data.length, itemBuilder: (ctx, index) { return WidgetItem(); });