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