增加若干基础页面
This commit is contained in:
30
lib/pages/layout/user/user_view.dart
Normal file
30
lib/pages/layout/user/user_view.dart
Normal file
@@ -0,0 +1,30 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import '../../../utils/utils.dart';
|
||||
import 'user_logic.dart';
|
||||
|
||||
class UserPage extends StatelessWidget {
|
||||
const UserPage({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final logic = Get.find<UserLogic>();
|
||||
final state = Get.find<UserLogic>().state;
|
||||
|
||||
return PopScope(
|
||||
canPop: false,
|
||||
onPopInvoked: (_) {
|
||||
ToolFn().isExit();
|
||||
},
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text("商家中心"),
|
||||
),
|
||||
body: const Center(
|
||||
child: Text("商家中心!!!"),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user