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(
|
body: SingleChildScrollView(
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Container(
|
child: Container(
|
||||||
constraints: const BoxConstraints(minWidth: 100, maxWidth: 400),
|
padding: const EdgeInsets.all(40),
|
||||||
|
constraints: const BoxConstraints(maxWidth: 400),
|
||||||
child: Column(children: [
|
child: Column(children: [
|
||||||
const Image(image: AssetImage('assets/logo.png'), height: 200),
|
const Image(image: AssetImage('assets/logo.png'), height: 200),
|
||||||
Text(
|
Text(
|
||||||
|
@ -53,7 +53,8 @@ Widget build(BuildContext context) {
|
|||||||
body: SingleChildScrollView(
|
body: SingleChildScrollView(
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Container(
|
child: Container(
|
||||||
constraints: const BoxConstraints(minWidth: 100, maxWidth: 400),
|
padding: const EdgeInsets.all(40),
|
||||||
|
constraints: const BoxConstraints(maxWidth: 400),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
const Image(
|
const Image(
|
||||||
@ -64,7 +65,7 @@ Widget build(BuildContext context) {
|
|||||||
'SkanTravels',
|
'SkanTravels',
|
||||||
style: GoogleFonts.jacquesFrancois(
|
style: GoogleFonts.jacquesFrancois(
|
||||||
fontSize: 30,
|
fontSize: 30,
|
||||||
color: Color(0xFF1862E7),
|
color: const Color(0xFF1862E7),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 40),
|
const SizedBox(height: 40),
|
||||||
|
Loading…
Reference in New Issue
Block a user