Commit b816d5d659c6ff1d4637fca246bcc4af86876642
1 parent
3f8611be
feat:去除嵌套滑动,解决滑快了后半部分直接翻页冲突
Showing
1 changed file
with
1 additions
and
1 deletions
lib/pages/section/section_page.dart
... | ... | @@ -183,7 +183,7 @@ class _SectionPageView extends StatelessWidget { |
183 | 183 | Expanded( |
184 | 184 | child: Padding( |
185 | 185 | padding: EdgeInsets.symmetric(horizontal: 10.w), |
186 | - child: NestedPageView.builder( | |
186 | + child: PageView.builder( | |
187 | 187 | itemCount: bloc.unlockPageCount(), |
188 | 188 | controller: bloc.pageController, |
189 | 189 | onPageChanged: (int index) { | ... | ... |