opt.: home ui

- new: top left settings btn
- opt.: top logo
This commit is contained in:
lollipopkit
2024-12-02 21:41:17 +08:00
parent ddd32e82d4
commit 4ace4af7da
6 changed files with 52 additions and 30 deletions

View File

@@ -25,16 +25,17 @@ final class _TopBar extends StatelessWidget implements PreferredSizeWidget {
context,
args: const DebugPageArgs(title: 'Logs(${BuildData.build})'),
),
child: const Padding(
padding: EdgeInsets.symmetric(horizontal: 7),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 7),
child: Row(
children: [
Text(
BuildData.name,
style: TextStyle(fontSize: 20),
textAlign: TextAlign.center,
Btn.icon(
icon: const Icon(Icons.settings),
onTap: () {
SettingsPage.route.go(context);
},
),
Icon(
const Icon(
Icons.keyboard_arrow_right,
color: Colors.grey,
size: 17,