This commit is contained in:
Hamza-Ayed
2024-05-15 11:02:55 +03:00
parent 2463370b0b
commit 81080ce292
112 changed files with 846 additions and 139 deletions

View File

@@ -1,3 +1,4 @@
import 'package:SEFER/constant/style.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:SEFER/controller/auth/captin/register_captin_controller.dart';
@@ -153,13 +154,47 @@ class RegisterCaptin extends StatelessWidget {
// ),
// ),
// )
Image.asset(
'assets/images/on1.png',
fit: BoxFit.cover,
height: double.maxFinite,
width: double.maxFinite,
),
Center(
child: MyElevatedButton(
title: 'Sign In by Google'.tr,
onPressed: () async {
await GoogleSignInHelper.signIn();
},
kolor: AppColor.blueColor,
child: Container(
decoration: AppStyle.boxDecoration1,
height: Get.height * .7,
width: Get.width * .9,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Image.asset(
'assets/images/logo.gif',
height: Get.width * .3,
width: Get.width * .3,
fit: BoxFit.fill,
),
Container(
decoration: AppStyle.boxDecoration1,
height: Get.height * .3,
width: Get.width * .8,
child: Center(
child: Text(
'Sign in with Google for easier email and name entry'.tr,
textAlign: TextAlign.center,
style: AppStyle.title,
),
),
),
MyElevatedButton(
title: 'Sign In by Google'.tr,
onPressed: () async {
await GoogleSignInHelper.signIn();
},
kolor: AppColor.blueColor,
),
],
),
))
],
isleading: true);