Compare commits
3 Commits
d0557b8674
...
210f7b13b9
| Author | SHA1 | Date | |
|---|---|---|---|
| 210f7b13b9 | |||
| e74ab24b6f | |||
| 39ac295a5b |
|
|
@ -30,6 +30,10 @@ class GoogleAuthService with ListenableServiceMixin {
|
|||
|
||||
_googleUser ??=
|
||||
await _signIn.authenticate(scopeHint: ['email', 'profile']);
|
||||
print('GOOGLE AUTH');
|
||||
print(_googleUser?.email);
|
||||
print(_googleUser?.displayName);
|
||||
print(_googleUser?.authentication.idToken);
|
||||
});
|
||||
notifyListeners();
|
||||
} catch (e) {
|
||||
|
|
|
|||
|
|
@ -122,11 +122,7 @@ class FullNameFormScreen extends ViewModelWidget<OnboardingViewModel> {
|
|||
|
||||
Widget _buildFullNameValidator(OnboardingViewModel viewModel) => Text(
|
||||
viewModel.fullNameValidationMessage!,
|
||||
style: const TextStyle(
|
||||
fontSize: 12,
|
||||
color: Colors.red,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
style: style12R700,
|
||||
);
|
||||
|
||||
Widget _buildContinueButtonWrapper(OnboardingViewModel viewModel) => Padding(
|
||||
|
|
@ -140,10 +136,13 @@ class FullNameFormScreen extends ViewModelWidget<OnboardingViewModel> {
|
|||
text: 'Continue',
|
||||
borderRadius: 12,
|
||||
foregroundColor: kcWhite,
|
||||
onTap:
|
||||
fullNameController.text.isNotEmpty ? () => _next(viewModel) : null,
|
||||
backgroundColor: fullNameController.text.isNotEmpty
|
||||
backgroundColor: fullNameController.text.isNotEmpty &&
|
||||
!viewModel.hasFullNameValidationMessage
|
||||
? kcPrimaryColor
|
||||
: kcPrimaryColor.withOpacity(0.1),
|
||||
onTap: fullNameController.text.isNotEmpty &&
|
||||
!viewModel.hasFullNameValidationMessage
|
||||
? () => _next(viewModel)
|
||||
: null,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
name: yimaru_app
|
||||
version: 0.1.7+9
|
||||
version: 0.1.8+10
|
||||
publish_to: 'none'
|
||||
description: A new Flutter project.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user