feat:更新主题颜色布局

This commit is contained in:
2026-04-30 17:25:52 +08:00
parent 43c4f4e6fa
commit 6838d84cec
5 changed files with 45 additions and 43 deletions

View File

@@ -7,26 +7,18 @@ class HomePage extends StatelessWidget {
Widget build(BuildContext context) {
return ScaffoldPage.withPadding(
header: const PageHeader(
title: Text('首页'),
title: Text('首页', style: TextStyle(color: Colors.white)),
),
content: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
FluentIcons.home,
size: 64,
),
Icon(FluentIcons.home, size: 64, color: Colors.white),
const SizedBox(height: 20),
Text(
'首页',
style: TextStyle(
fontSize: 24,
),
),
Text('首页', style: TextStyle(fontSize: 24, color: Colors.white)),
],
),
),
);
}
}
}