feat:初始化工程

This commit is contained in:
2026-04-25 21:25:02 +08:00
commit 57c6e552d4
37 changed files with 2701 additions and 0 deletions

32
lib/pages/home_page.dart Normal file
View File

@@ -0,0 +1,32 @@
import 'package:fluent_ui/fluent_ui.dart';
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return ScaffoldPage.withPadding(
header: const PageHeader(
title: Text('首页'),
),
content: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
FluentIcons.home,
size: 64,
),
const SizedBox(height: 20),
Text(
'首页',
style: TextStyle(
fontSize: 24,
),
),
],
),
),
);
}
}