【发布时间】:2021-04-13 18:02:42
【问题描述】:
在slidingUpPanel 中,我有一个ListView 小部件。当我尝试滚动时,ListViewslidingUpPanel 关闭。如何在不关闭slidingUpPanel 的情况下滚动ListView?
SlidingUpPanel(
controller: _panelController,
maxHeight: _panelHeightOpen,
minHeight: _panelHeightClosed,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(50),
topRight: Radius.circular(50),
),
boxShadow: [
BoxShadow(
color: secondaryColor,
spreadRadius: 1,
blurRadius: 5,
offset: Offset(0, -10), // changes position of shadow
),
],
panelBuilder: (sc) => _summaryWidget(sc),
),
我的_summaryWidget
ListView(
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
children: [
Photos(),
],
)
【问题讨论】: