33 lines
692 B
Dart
33 lines
692 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:forui/forui.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
import 'index.dart';
|
|
|
|
class LoadPage extends GetView<LoadController> {
|
|
const LoadPage({super.key});
|
|
|
|
// 主视图
|
|
Widget _buildView() {
|
|
return const Center(
|
|
child: Text("LoadPage"),
|
|
);
|
|
}
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GetBuilder<LoadController>(
|
|
init: LoadController(),
|
|
id: "load",
|
|
builder: (_) {
|
|
return FScaffold(
|
|
header: FHeader(title: SizedBox.shrink()),
|
|
content: _buildView(),
|
|
contentPad: true,
|
|
resizeToAvoidBottomInset: false,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
}
|