factor:布局颜色重构
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user