mod login signin design
This commit is contained in:
@@ -244,4 +244,8 @@ class EditController extends GetxController {
|
||||
locationController.dispose();
|
||||
super.onClose();
|
||||
}
|
||||
|
||||
void gotToList() {
|
||||
Get.offAllNamed(HomePage.namedRoute);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ class EditPage extends GetView<EditController> {
|
||||
centerTitle: true,
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () => Get.back(),
|
||||
onPressed: () => editCtrl.gotToList(),
|
||||
),
|
||||
),
|
||||
body: Container(
|
||||
@@ -266,7 +266,7 @@ class EditPage extends GetView<EditController> {
|
||||
SizedBox(
|
||||
width: double.infinity,
|
||||
child: OutlinedButton(
|
||||
onPressed: () => Get.back(),
|
||||
onPressed: () => editCtrl.gotToList(),
|
||||
style: OutlinedButton.styleFrom(
|
||||
foregroundColor: Colors.white,
|
||||
side: const BorderSide(color: Colors.white, width: 2),
|
||||
|
||||
@@ -19,7 +19,7 @@ class LoginPage extends GetView<LoginController> {
|
||||
width: displayWidth,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 16.0,
|
||||
vertical: 130.0,
|
||||
vertical: 100.0,
|
||||
),
|
||||
color: Colors.blue.shade100,
|
||||
child: SingleChildScrollView(
|
||||
|
||||
@@ -17,10 +17,7 @@ class SigninPage extends GetView<SigninController> {
|
||||
body: Container(
|
||||
height: displayHeight,
|
||||
width: displayWidth,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 16.0,
|
||||
vertical: 100.0,
|
||||
),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16.0, vertical: 90.0),
|
||||
color: Colors.blue.shade100,
|
||||
child: SingleChildScrollView(
|
||||
child: MySigninWidget(
|
||||
|
||||
@@ -58,8 +58,8 @@ class MyLoginWidget extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(18),
|
||||
child: Image.asset(
|
||||
'assets/images/guru.png',
|
||||
width: 400,
|
||||
height: 400,
|
||||
width: 300,
|
||||
height: 300,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -58,8 +58,8 @@ class MySigninWidget extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(18),
|
||||
child: Image.asset(
|
||||
'assets/images/guru01.png',
|
||||
width: 400,
|
||||
height: 400,
|
||||
width: 300,
|
||||
height: 300,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user