All'oggetto RenderIndexedSemantics è stata assegnata una dimensione infinita durante il layout
Aug 16 2020
ottengo questo errore quando uso listviewbuilder
per la mia app ecco il mio codice
ListView.builder(
padding: const EdgeInsets.all(0),
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
return Scaffold(
body: SafeArea( //and the rest of codes...
Risposte
1 ArshShaikh Aug 16 2020 at 12:53
La configurazione è sbagliata.
Dovrebbe essere così
SafeArea(
child: Scaffold(
body:ListView.builder();
),