factor:布局颜色重构

This commit is contained in:
2025-11-20 14:25:31 +08:00
parent e6ee934a3e
commit eb4f7a3637
13 changed files with 60 additions and 69 deletions

View File

@@ -49,17 +49,9 @@ class _HomePage extends State<HomePage> {
)
],
),
backgroundColor: Color(0xFFF5F5F5),
// backgroundColor: Color(0xFFF5F5F5),
drawer: SettingsDrawer(),
body: Padding(padding: EdgeInsets.all(4), child: tabPages[_currentIndex]),
// floatingActionButton: FloatingActionButton(
// backgroundColor: Theme.of(context).colorScheme.primary,
// onPressed: () => buildBottomSheet(context),
// shape: const CircleBorder(),
// mini: true,
// child: const Icon(Icons.add, color: Colors.white, size: 30),
// ),
// floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
body: Padding(padding: EdgeInsets.all(10), child: tabPages[_currentIndex]),
bottomNavigationBar: buildBottomNavBar(
currentIndex: _currentIndex,
onTap: (index) {