Files
task_hub/lib/pages/home_page.dart
2026-04-30 17:25:52 +08:00

25 lines
673 B
Dart

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('首页', style: TextStyle(color: Colors.white)),
),
content: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(FluentIcons.home, size: 64, color: Colors.white),
const SizedBox(height: 20),
Text('首页', style: TextStyle(fontSize: 24, color: Colors.white)),
],
),
),
);
}
}