应用更新

This commit is contained in:
2026-02-05 10:30:31 +08:00
parent 3dd583a278
commit 7d9b4d99e8
6 changed files with 156 additions and 73 deletions

View File

@@ -5,18 +5,13 @@ import 'package:ln_jq_app/pages/home/controller.dart';
class HomePage extends GetView<HomeController> {
const HomePage({super.key});
// 主视图
Widget _buildView() {
return <Widget>[Text('主页面')].toColumn(mainAxisSize: MainAxisSize.min).center();
}
@override
Widget build(BuildContext context) {
return GetBuilder<HomeController>(
init: HomeController(),
id: 'home',
builder: (_) {
return controller.getHomePage();
return Scaffold(body: controller.getHomePage());
},
);
}