login page changes padding

This commit is contained in:
marcoabat
2023-08-12 13:06:34 +02:00
parent f8063e1b31
commit 34102c5172

View File

@@ -92,7 +92,9 @@ class _LoginPageState extends State<LoginPage> {
Widget _tilteBuilder(Size screenSize, BuildContext context) {
if (screenSize.width > 840) {
return Row(
return Padding(
padding: const EdgeInsets.only(top: 20),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
@@ -126,9 +128,12 @@ Widget _tilteBuilder(Size screenSize, BuildContext context) {
),
)
],
),
);
} else if (screenSize.width <= 840 && screenSize.height > 825) {
return Column(
} else if (screenSize.width <= 840 && screenSize.height > 860) {
return Padding(
padding: const EdgeInsets.only(top: 20),
child: Column(
children: [
Text(
'BRISEN',
@@ -154,9 +159,12 @@ Widget _tilteBuilder(Size screenSize, BuildContext context) {
),
)
],
),
);
} else {
return Row(
return Padding(
padding: const EdgeInsets.only(top: 20),
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.center,
children: [
@@ -189,6 +197,7 @@ Widget _tilteBuilder(Size screenSize, BuildContext context) {
],
),
],
),
);
}
}