Center login prompt
This commit is contained in:
parent
703068082e
commit
93670f7c3d
|
@ -9,14 +9,17 @@ class LoginPrompt extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Column(
|
return Column(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
const Text('Please log in'),
|
const Text('Please log in'),
|
||||||
|
const SizedBox(height: 8),
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(context, MaterialPageRoute(builder: (context) => LoginPage(api: api)));
|
Navigator.push(context, MaterialPageRoute(builder: (context) => LoginPage(api: api)));
|
||||||
},
|
},
|
||||||
child: const Text('Log in'),
|
child: const Text('Log in'),
|
||||||
),
|
),
|
||||||
|
const SizedBox(height: 80),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue