Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FOSS_final_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kiung yoon
FOSS_final_project
Commits
57139222
Commit
57139222
authored
3 years ago
by
kiung yoon
Browse files
Options
Downloads
Patches
Plain Diff
understand practice_code
parent
5b81a2db
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
practice_code/README.md
+20
-1
20 additions, 1 deletion
practice_code/README.md
with
20 additions
and
1 deletion
practice_code/README.md
+
20
−
1
View file @
57139222
# 캐릭터 페이지 디자인
아래는 완성된 캐릭터 페이지이다
<img
src=
"/uploads/d8948f3fb5bab8ebe473780d0cbbe64d/simu.png"
width=
"300"
height=
"650"
>
#
## Flutter 클래스 설명
Flutter 클래스는 크게 statelessWidget과 statefulwidget으로 나눌 수 있다
*
statefulwidget은 페이지에 변화가 없는 정적인 페이지 구성을 할 때 사용하는 클래스이다
*
statefulwidget은 페이지의 변화가 있는 동적인 페이지 구성을 할 때 사용하는 클래스이다
실습에서는 statelessWidget을 사용하여 캐릭터 페이지를 구성하였다
```
Scaffold(
appbar: AppBar(
title: Text('FOSS'),
...
)
body: ...
)
```
`Scaffold`
는 App의 화면을 구성하는데 가장 기본이 되는 클래스이다
`appbar`
속성은 앱의 상단을 구성하며 앱의 title등을 넣을 수 있고 좌우로 아이콘을 넣어 tap을 했을 때 어떤 동작을 수행하게 할 수 있다
'body' 속성은 앱의 가운데 메인화면을 구성한다. 여기에서는 다양한 클래스를 이용하여 화면을 구성할 수 있다 실습에서는
`Padding`
`Divider`
`Column`
`Row`
등의 클래스를 사용해 보았다
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment