修改pageview为可左右滑动

hmxc
张萌 4 years ago
parent 11712a80aa
commit aa5b86f97e

@ -167,7 +167,7 @@ _pages=[
itemBuilder: (context, index) => _pages[index],
itemCount: _pages.length,
controller: _pageController,
physics: NeverScrollableScrollPhysics(),
// physics: NeverScrollableScrollPhysics(),
onPageChanged: (index) {
setState(() {
_currentIndex = index;

Loading…
Cancel
Save