Merge commit 'aa5b86f97e95b40ef10eba33cf8534aaf4dbb1d8'

* commit 'aa5b86f97e95b40ef10eba33cf8534aaf4dbb1d8':
  修改pageview为可左右滑动
  no message
hmxc
小赖 4 years ago
commit 5f8040f153

@ -166,7 +166,7 @@ class _TabNavigatorState extends State<TabNavigator> {
itemBuilder: (context, index) => _pages[index], itemBuilder: (context, index) => _pages[index],
itemCount: _pages.length, itemCount: _pages.length,
controller: _pageController, controller: _pageController,
physics: NeverScrollableScrollPhysics(), // physics: NeverScrollableScrollPhysics(),
onPageChanged: (index) { onPageChanged: (index) {
setState(() { setState(() {
_currentIndex = index; _currentIndex = index;

Loading…
Cancel
Save