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.
31 lines
956 B
31 lines
956 B
// lib/modules/home/views/home_page.dart |
|
|
|
import 'package:flutter/material.dart'; |
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
import 'package:get/get.dart'; |
|
import 'package:problem_check_system/app/core/pages/widgets/custom_app_bar.dart'; |
|
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) { |
|
return Scaffold( |
|
appBar: CustomAppBar(titleName: "首页"), |
|
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]), |
|
), |
|
], |
|
), |
|
), |
|
); |
|
} |
|
}
|
|
|