This commit is contained in:
lollipopkit
2023-08-05 12:23:29 +08:00
parent d88a078cd6
commit 3405172d76
6 changed files with 30 additions and 28 deletions

View File

@@ -124,6 +124,7 @@ class _HomePageState extends State<HomePage>
),
body: PageView.builder(
controller: _pageController,
itemCount: AppTab.values.length,
itemBuilder: (_, index) => AppTab.values[index].page,
onPageChanged: (value) {
if (!_switchingPage) {