|
@@ -1,3 +1,4 @@
|
|
|
+import 'package:flutter/cupertino.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_modular/flutter_modular.dart';
|
|
|
|
|
@@ -20,6 +21,55 @@ class _LoginPageState extends State<LoginPage> {
|
|
|
fit: BoxFit.fill,
|
|
|
)
|
|
|
),
|
|
|
+ child: Padding(
|
|
|
+ padding: const EdgeInsets.fromLTRB(20, 20, 20, 20),
|
|
|
+ child: Form(
|
|
|
+ child: Column(
|
|
|
+ children: [
|
|
|
+ const SizedBox(
|
|
|
+ width: 200,
|
|
|
+ height: 200,
|
|
|
+ ),
|
|
|
+
|
|
|
+ Padding(
|
|
|
+ padding: const EdgeInsets.fromLTRB(40, 30, 0, 0),
|
|
|
+ child: TextFormField(
|
|
|
+ decoration: const InputDecoration(
|
|
|
+ border: InputBorder.none,
|
|
|
+ labelText: "输入账号",
|
|
|
+ hintText: "输入账号",
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+
|
|
|
+ Padding(
|
|
|
+ padding: const EdgeInsets.fromLTRB(40, 0, 0, 0),
|
|
|
+ child: TextFormField(
|
|
|
+ decoration: const InputDecoration(
|
|
|
+ border: InputBorder.none,
|
|
|
+ labelText: "输入密码",
|
|
|
+ hintText: "输入密码",
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ const SizedBox(
|
|
|
+ width: 200,
|
|
|
+ height: 150,
|
|
|
+ ),
|
|
|
+ ElevatedButton(
|
|
|
+ child: const Text("登录"),
|
|
|
+ onPressed: (){
|
|
|
+
|
|
|
+ },
|
|
|
+ style: ButtonStyle(
|
|
|
+ //minimumSize: Meta
|
|
|
+ ),
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+
|
|
|
+ ),
|
|
|
),
|
|
|
);
|
|
|
|