feat:更新主题颜色布局
This commit is contained in:
@@ -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)),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user