Add padding to login/register page
This commit is contained in:
parent
a798d76cfe
commit
86d2cbc572
@ -56,7 +56,8 @@ class _LoginPageState extends State<LoginPage> {
|
||||
body: SingleChildScrollView(
|
||||
child: Center(
|
||||
child: Container(
|
||||
constraints: const BoxConstraints(minWidth: 100, maxWidth: 400),
|
||||
padding: const EdgeInsets.all(40),
|
||||
constraints: const BoxConstraints(maxWidth: 400),
|
||||
child: Column(children: [
|
||||
const Image(image: AssetImage('assets/logo.png'), height: 200),
|
||||
Text(
|
||||
|
@ -53,7 +53,8 @@ Widget build(BuildContext context) {
|
||||
body: SingleChildScrollView(
|
||||
child: Center(
|
||||
child: Container(
|
||||
constraints: const BoxConstraints(minWidth: 100, maxWidth: 400),
|
||||
padding: const EdgeInsets.all(40),
|
||||
constraints: const BoxConstraints(maxWidth: 400),
|
||||
child: Column(
|
||||
children: [
|
||||
const Image(
|
||||
@ -64,7 +65,7 @@ Widget build(BuildContext context) {
|
||||
'SkanTravels',
|
||||
style: GoogleFonts.jacquesFrancois(
|
||||
fontSize: 30,
|
||||
color: Color(0xFF1862E7),
|
||||
color: const Color(0xFF1862E7),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 40),
|
||||
|
Loading…
Reference in New Issue
Block a user