diff --git a/lib/pages/menu/side_menu.dart b/lib/pages/menu/side_menu.dart index 32568ba..ea0b80b 100644 --- a/lib/pages/menu/side_menu.dart +++ b/lib/pages/menu/side_menu.dart @@ -55,12 +55,15 @@ class _SideMenu extends State { // extended: true, groupAlignment: 1.0, labelType: NavigationRailLabelType.selected, - leading: FloatingActionButton( - elevation: 0, - onPressed: () { - _mineController.checkUpdata(); - }, - child: const Icon(Icons.cloud_outlined), + leading: Padding( + padding: const EdgeInsets.only(top: 20.0), // 增加顶部内边距 + child: FloatingActionButton( + elevation: 0, + onPressed: () { + _mineController.checkUpdata(); + }, + child: const Icon(Icons.cloud_outlined), + ), ), destinations: const [