Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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,
              
            );
          },),
        )
 
PREVIOUS NEXT
Tagged: #listview #space #items #flutter
ADD COMMENT
Topic
Name
2+8 =