์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- icon
- TextEditingController
- Routing
- textField
- navigator
- flutter
- POP
- button
- Scaffold
- GestureDetector
- dart
- figma
- slider
- ontap
- sizedbox
- FloatingActionButton
- AppBar
- scaffoldmessenger
- list
- vscode
- InputDecoration
- ElevatedButton
- drawer
- stateful
- PushNamed
- switch
- AlertDialog
- image
- Webflow
- Snackbar
- Today
- Total
๋ชฉ๋กElevatedButton (2)
์ฌ๋ฐ๋๊ฑฐ๐

๋ค์ํ ๋ฒํผ์ ์ฌ์ฉํ ์ ์๋ค. ๊ฐ์ฅ ๊ธฐ๋ณธ์ ์ธ TextButton์ ์ ๋ ฅํ๋ฉด ๋ค์๊ณผ ๊ฐ์ด ์ถ๋ ฅ๋๋ค. ์ฝ๊ฒ ์๊ฐํ๋ฉด, onPressed๋ ๋ฒํผ ํด๋ฆญ ์ ์ถ๋ ฅ๋๋ ์ด๋ฒคํธ๊ฐ ์ ์๋๋ ๋ถ๋ถ์ด๊ณ , child๋ ๋ฒํผ๋ช ์ ๋ฃ๋๋ค๊ณ ์๊ฐํ๋ฉด ๋๋ค. #์คํ์ผ : styleFrom()์ ์ฌ์ฉํ์ฌ ์คํ์ผ ์ค์ ๊ฐ๋ฅ style: TextButton.styleFrom() #๋ณ๋ Function์ ๋ง๋ค์ด์ ๋ฒํผ ํด๋ฆญ ์ด๋ฒคํธ ๊ตฌํ ๊ฐ๋ฅ // -- Function ---- longClickAction() { String action = "long clicked"; print('text button is $action.'); } TextButton TextButton( style: TextButton.styleFrom(foregrou..

์ค๋์ ์ง๋ ์๊ฐ์ ์ด์ด์ image 1๊ฐ๋ฅผ CircleAvatar๋ก ๋ฃ๊ณ , Divider ๋ฐ Button์ ์ถ๊ฐํด๋ณด๊ฒ ๋ค. body : CircleAvatar, Divider 0) ์ง๋ ์๊ฐ์ ๋ง๋ ์ฝ๋ VSCode๋ก ์ด๊ณ ํ์ธ 1) Column์ CircleAvatar ์ถ๊ฐํ๊ธฐ - ์ด๋ฏธ์ง ์ค์ : backgroundImage: AssetImage("ํด๋๋ช /์ด๋ฏธ์ง๋ช .ํ์ฅ์") - Radius ๊ฐ ์ค์ ํ๊ธฐ const CircleAvatar( backgroundImage: AssetImage('images/ura.jpg'), radius: 70, ), 2) CircleAvatar์ Padding ์ถ๊ฐ 3) ๋ฌธ๊ตฌ ์๋์ Divider ์ถ๊ฐํ๊ณ ํ๋ฉด ํ์ธ const Divider( height: 30, colo..