1

Found solution : For each element of BddAdresseClient elementAt(1)

return ListView.builder( itemCount: snapshot .data!.length, // mettre le ! pour tester le null itemBuilder: (context, int currentIndex) { return affClient( snapshot.data![currentIndex], context);

Widget affClient(List infoClient, BuildContext context) { return new ListTile( title: new Card(

Text( infoClient.elementAt(1).toString(),

Shadow
  • 33,525
  • 10
  • 51
  • 64
PO JP
  • 31
  • 2

0 Answers0