From b816d5d659c6ff1d4637fca246bcc4af86876642 Mon Sep 17 00:00:00 2001 From: wuqifeng <540416539@qq.com> Date: Mon, 5 Aug 2024 17:52:58 +0800 Subject: [PATCH] feat:去除嵌套滑动,解决滑快了后半部分直接翻页冲突 --- lib/pages/section/section_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/section/section_page.dart b/lib/pages/section/section_page.dart index b1a5190..c7f31a5 100644 --- a/lib/pages/section/section_page.dart +++ b/lib/pages/section/section_page.dart @@ -183,7 +183,7 @@ class _SectionPageView extends StatelessWidget { Expanded( child: Padding( padding: EdgeInsets.symmetric(horizontal: 10.w), - child: NestedPageView.builder( + child: PageView.builder( itemCount: bloc.unlockPageCount(), controller: bloc.pageController, onPageChanged: (int index) { -- libgit2 0.22.2