skip to Main Content

ListView inside Alert Dialog displays empty transparent window – Flutter

Below is my Alertdialog: return AlertDialog( title: const Text('Choose Device'), content: ListView.builder( shrinkWrap: true, itemCount: listDevices.length, itemBuilder: (_, int index) => deviceList(listDevices[index]), ), ); Below is deviceList function: Widget deviceList(String strDevice) => SizedBox( height: 150.0, child: Column( mainAxisAlignment: MainAxisAlignment.spaceAround, children:…

VIEW QUESTION

Flutter ; Vertical ListView inside a column(inside another column) causing an overflow

class Episodes extends StatefulWidget { const Episodes({super.key}); @override State<Episodes> createState() => _EpisodesState(); } class _EpisodesState extends State<Episodes> { final seasons = ['Season 1', 'Season 2', 'Season 3']; String? value; @override Widget build(BuildContext context) { Size size = MediaQuery.of(context).size; //EdgeInsets.only(left: size.width…

VIEW QUESTION

Listview does not scroll – Flutter

The listview I have used in the application I am making with flutter cannot be scrolled. I tried everything but couldn't find the solution.There is no other scroll in the code tree.I also added pysics but it still didn't work.…

VIEW QUESTION
Back To Top
Search