Closed zakharov161 closed 5 months ago
I figured it out. Just wrapped the buttons and the carousel in a Row. The carousel builder itself wrapped in a ConstrainedBox and specified the necessary dimensions in it. So that there are no problems and I picked up the correct itemExtent.
Is it possible to somehow achieve a change in the overall width of the horizontal carousel? In my case, I need to place the carousel in the center between the back/forward buttons and limit the number of displayed items to no more than 3. All my attempts to reduce the carousel result in size overflow.