Flutter: Container or SizedBox with Dynamic Height

you just have to use property shrink wrap true it will auto adjust the height Container(child:ListView.separated( itemCount:1 shrinkWrap: true, itemBuilder: (context, index) { return Container(); } ), SizedBox(child:ListView.separated( itemCount:1 shrinkWrap: true, itemBuilder: (context, index) { return Container(); } )

Comments

Popular posts from this blog

akhandsagar privacy policy