Skip to content
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

Udpate: branch 'sunwoo' 추가, 스터디 내용 첨부 #1

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

SunwooKim11
Copy link

No description provided.

SunwooKim11 and others added 17 commits October 4, 2023 01:21
done by part fucntion
Studied and Implemented by Part2.
Flutter Master -Codding Papa
Done 3th assignment - lectture.
Start 3rd assignment, proejct 'Fortune Telling'.
Implementing Card1, ListView of  each day fortune.
Lv.1 With Only Consatant Data

Card1 - Detail Screen Processing
Issue: Broken Layout when columns are wrapped with Container

Card2 - Change Content upon constellation Processing

Card3 - Menu Done
Done Part 4,  Scrollable Widget
 Start Part 5, Interactive Widget
Some problems list view in detail widget.
API which gets data from static sample json file.
Load asset Success. But  some trouble with jsonDecode
study completed  up to Lec._110__create_grocery_items_screen_file
git-subtree-dir: Workspace
git-subtree-mainline: 2e5df62
git-subtree-split: ee10bfb
Clone and Make branch 'sunwoo'
Update README.md
- Json 구조, `jsonDecode(dataString)` 의 구조가 아래와 같음.
    - `//  Map<STring, Map<String, Map<String, dynamic>>>`
- Error Message
    - I/flutter (31850): Error fetching or decoding daily fortunes: type '_Map<String, dynamic>' is not a subtype of type 'Map<String, Map<String, Map<String, dynamic>>>’

- dynamic, jsonDecode을 공부 필요.
- 필요하다면, jsonDecode을 여러번 활용하여 nested json decode 문제를 풀어야할듯
하위 PODO model을 만들어서 parseJson을 분해했음. 다음과 같은 API에서의 에러는 사라졌음.
Error fetching or decoding daily fortunes: type '_Map<String, dynamic>' is not a subtype of type 'Map<String, Map<String, Map<String, dynamic>>>

그러나 DynamicDailyFortuneInfo 에서 null로 처리되는 문제가 있음. 반면 object type은 print하면 나옴. 다른부분에선 print 해보면 잘 나옴. 소스 디버깅 해도 문제를 찾을 수 없음.
Login, 생년월일, 성별, 양,음력 입력하는 login page 만들고,
입력하면, 메뉴 3개있는 home으로 navigate해주게 만듬.
그러나 다음과 같은 로직은 미구현

1. Radio button click event
2. 생년월일 정보 특정 형식'20011110' 으로만 받게 제한
3. Provide 등을 이용해 줘서 이 정보를 통해 API로 WEB에서 정보 받아오기.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant