Login page design improvements #26
|
@ -18,15 +18,13 @@ class _LoginPageState extends State<LoginPage> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext ctx) {
|
||||
// TODO: indent
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('Login to Vikunja'),
|
||||
),
|
||||
body: Builder(
|
||||
builder: (BuildContext context) => SafeArea(
|
||||
top: false,
|
||||
bottom: false,
|
||||
child: Form(
|
||||
builder: (BuildContext context) => Center(
|
||||
child: Container(
|
||||
alignment: Alignment(0, 0),
|
||||
child: Form(
|
||||
autovalidate: true,
|
||||
key: _formKey,
|
||||
child: ListView(
|
||||
|
@ -98,9 +96,10 @@ class _LoginPageState extends State<LoginPage> {
|
|||
child: VikunjaButtonText('Register'),
|
||||
)),
|
||||
],
|
||||
)),
|
||||
))),
|
||||
),
|
||||
));
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
_loginUser(BuildContext context) async {
|
||||
|
|
Reference in New Issue