适配平板前备份

This commit is contained in:
DelLevin-Home
2026-06-30 20:39:40 +08:00
parent 4fd00ec7be
commit 5e56bc3269
4 changed files with 208 additions and 267 deletions

View File

@@ -87,12 +87,15 @@ class _HomePageState extends State<HomePage> {
children: [
_buildPageView(provider),
// 底部导航栏区域
Positioned(
left: 0,
right: 0,
bottom: 0,
child: AnimatedSlide(
offset: provider.bottomNavVisible ? Offset.zero : const Offset(-1, 0),
offset: provider.bottomNavVisible
? Offset.zero
: const Offset(-1, 0),
duration: const Duration(milliseconds: 300),
curve: Curves.easeInOut,
child: const CustomBottomNavBar(),