我正在尝试创建一个带有可变高度项目的轮播。当使用PageView或ListView进行水平滚动时,我需要给它一个恒定的高度,像这样:classCarouselVariableHightStateextendsState{doubleheight=200;@overrideWidgetbuild(BuildContextcontext){returnScaffold(appBar:AppBar(title:Text('Carousel')),body:ListView(children:[Text('MyCarousel'),Container(height:height,child:P