-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ 로그인 Bottom Sheet UI 추가 #7
Conversation
@@ -26,7 +26,7 @@ class HttpErrorHandler { | |||
context.go('/home'); | |||
} | |||
} else { | |||
TuTiSnackBar.showSnackBar(context, data['message'].toString()); | |||
// TuTiSnackBar.showSnackBar(context, data['message'].toString()); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
비로그인 유저가 트티 screen 접속 시 token이 없다고 뜨는 스낵바 잠시 제거했습니다.
constraints: | ||
BoxConstraints(maxWidth: 300.w, maxHeight: 460.h), | ||
child: Padding( | ||
padding: EdgeInsets.fromLTRB(40.w, 20.h, 40.w, 20.h), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
디자인 시안에 따라 바텀 시트의 크기를 최대 너비 300, 높이 460으로 제한하고
패딩을 왼, 오른쪽 40, 위 아래 20을 줬습니다.
Align( | ||
alignment: Alignment.bottomRight, | ||
child: loginIntroButtonCollection(context)), | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ 위젯 관련 ]
- 로그인 안내 텍스트(loginSheetTexts) 2.로그인 버튼 모음(loginIntroButtonCollection) 으로 분리했습니다.
[ layout 관련 ]
Aling 위젯을 활용해 1과 2를 각각 디자인 시안에 맞게 조정했습니다.
그리고 중간에 Spacer 위젯을 활용해 1, 2가 차지하고 남는 공간 전부로 여백을 줬습니다.
{String? foregroundText, | ||
String? imagePath, | ||
Color? backGroundColor, | ||
VoidCallback? onPressed}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
추후 로그인 기능을 추구하기 위해 VoidCallBack typedef를 인자로 선언했습니다.
Title
로그인 버튼 클릭 시 띄워질 로그인 Bottom Sheet UI 추가
What type of PR is this?
Description
로그인 버튼 클릭 시 띄워질 로그인 Bottom Sheet UI 추가했어요.
Related Issue number and link
Mobile & Desktop Screenshots/Recordings
default.mp4
Checklist:
To Reviewers
추후 추가할 사항입니다!