蓝牙和上位机和非上位机的功能的适配

This commit is contained in:
2026-09-16 15:38:41 +08:00
parent a1e01da241
commit c8b597f683
6 changed files with 626 additions and 67 deletions

View File

@@ -143,7 +143,8 @@ class _MainWrapperState extends State<MainWrapper> {
children: [
PageView(
controller: _pageController,
physics: const NeverScrollableScrollPhysics(),
// 🔥 启用左右滑动切换 Tab
physics: const BouncingScrollPhysics(),
onPageChanged: (index) {
setState(() {
_currentIndex = index;