1

I am using the swiper with the height of the container fixed as follows, but I want to make the height value automatically adjust according to the contents inside the swiper.

Container(
    height: 220,
    child: Swiper(
        itemBuilder: (BuildContext context, int index) {
            return Container() //content
        }
    )
)
MendelG
  • 14,885
  • 4
  • 25
  • 52
kim
  • 11
  • 1

0 Answers0