Answers for "listview unexpected space in flutter"

0

listview space between items flutter

Container(
          height: 110,
          child: ListView.builder(
            scrollDirection: Axis.horizontal,
            itemCount: 20,
            itemBuilder: (context, index) {
            return Container(
              margin: EdgeInsets.all(10),
              // height: 95,
              width: 100,
              color: Colors.red,
              
            );
          },),
        )
Posted by: Guest on January-01-2022

Code answers related to "listview unexpected space in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language