login page changes padding
This commit is contained in:
@@ -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) {
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user