Files
BistroFrontend/lib/login.dart
2023-03-29 15:58:59 +08:00

52 lines
1.1 KiB
Dart

import 'package:flutter/material.dart';
///
/// 登录页
///
class Login extends StatefulWidget {
final Function? successCallback;
const Login({
Key? key,
this.successCallback,
}) : super(key: key);
@override
LoginState createState() => LoginState();
}
class LoginState extends State<Login> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
// title: Text(''),
backgroundColor: Theme.of(context).colorScheme.background,
centerTitle: false,
),
body: SafeArea(
child: Column(
children: const [
Text(
'和数以千计的同好一起,',
style: TextStyle(
fontSize: 24,
),
),
Text(
'创造,改变',
style: TextStyle(
fontSize: 28,
),
),
Text(
'广阔九州,大有可为!',
style: TextStyle(fontSize: 22),
)
],
),
),
);
}
}