update initial map loading

This commit is contained in:
Mohamed Nouffer
2022-12-27 18:52:37 +05:30
parent c1f7656044
commit f8a79842e3
5 changed files with 310 additions and 25 deletions

View File

@ -81,7 +81,7 @@ class LoginPage extends StatelessWidget {
children: [
MaterialButton(
minWidth: double.infinity,
height:60,
height:40,
onPressed: (){
if(emailController.text.isEmpty || passwordController.text.isEmpty){
Get.snackbar(
@ -107,10 +107,10 @@ class LoginPage extends StatelessWidget {
),
),
),
SizedBox(height: 10.0,),
SizedBox(height: 19.0,),
MaterialButton(
minWidth: double.infinity,
height:60,
height:40,
onPressed: (){
Get.toNamed(AppPages.REGISTER);
},
@ -122,7 +122,23 @@ class LoginPage extends StatelessWidget {
fontWeight: FontWeight.w600,fontSize: 16,color: Colors.white70
),
),
)
),
SizedBox(height: 19.0,),
MaterialButton(
minWidth: double.infinity,
height:40,
onPressed: (){
Get.back();
},
color: Colors.grey,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(40)
),
child: Text("cancel".tr,style: TextStyle(
fontWeight: FontWeight.w600,fontSize: 16,color: Colors.white70
),
),
),
],
)
),