Login page design improvements #26

Merged
JonasFranz merged 6 commits from feaure/login-page into master 2019-03-14 21:12:02 +00:00
1 changed files with 8 additions and 9 deletions
Showing only changes of commit b8bef2b5e4 - Show all commits

View File

@ -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 {