feat(migrate): 将之前写好的部件迁移了过来

This commit is contained in:
李东云
2022-02-21 14:51:53 +08:00
parent d16e94876b
commit 2c81720df3
15 changed files with 907 additions and 82 deletions

35
lib/mine/login.dart Normal file
View File

@@ -0,0 +1,35 @@
import 'package:flutter/material.dart';
///
/// 登录页
///
class Login extends StatefulWidget {
final Function successCallback;
const Login({
required Key key,
required this.successCallback,
}) : super(key: key);
@override
_LoginState createState() => _LoginState();
}
class _LoginState extends State<Login> {
@override
Widget build(BuildContext context) {
// TODO: implement build
return Scaffold(
appBar: AppBar(
title: const Text(
'登录',
style: TextStyle(
fontSize: 30,
),
),
centerTitle: true,
),
body: const Text('登录'),
);;
}
}