登录逻辑
This commit is contained in:
@@ -18,17 +18,22 @@ class _AuthPageState extends State<AuthPage> {
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.toNamed(AuthRoutes.create);
|
||||
},
|
||||
child: const Text('创建账户'),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.toNamed(AuthRoutes.import);
|
||||
},
|
||||
child: const Text('导入账户'),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.toNamed(AuthRoutes.create);
|
||||
},
|
||||
child: const Text('创建账户'),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.toNamed(AuthRoutes.import);
|
||||
},
|
||||
child: const Text('导入账户'),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user