You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
956 B
32 lines
956 B
|
2 weeks ago
|
// lib/modules/home/views/home_page.dart
|
||
|
|
|
||
|
|
import 'package:flutter/material.dart';
|
||
|
2 weeks ago
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||
|
2 weeks ago
|
import 'package:get/get.dart';
|
||
|
2 weeks ago
|
import 'package:problem_check_system/app/core/pages/widgets/custom_app_bar.dart';
|
||
|
2 weeks ago
|
import 'package:problem_check_system/app/features/home/controllers/home_controller.dart';
|
||
|
|
|
||
|
|
class HomePage extends GetView<HomeController> {
|
||
|
|
const HomePage({super.key});
|
||
|
|
|
||
|
|
@override
|
||
|
|
Widget build(BuildContext context) {
|
||
|
2 weeks ago
|
return Scaffold(
|
||
|
|
appBar: CustomAppBar(titleName: "首页"),
|
||
|
2 weeks ago
|
body: Center(
|
||
|
|
child: Column(
|
||
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
|
children: [
|
||
|
|
Icon(Icons.home, size: 60.sp, color: Colors.grey[400]),
|
||
|
|
SizedBox(height: 16.h),
|
||
|
|
Text(
|
||
|
|
'暂无内容',
|
||
|
|
style: TextStyle(fontSize: 16.sp, color: Colors.grey[600]),
|
||
|
|
),
|
||
|
|
],
|
||
|
|
),
|
||
|
|
),
|
||
|
2 weeks ago
|
);
|
||
|
2 weeks ago
|
}
|
||
|
|
}
|