Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- ontap
- flutter
- image
- AlertDialog
- POP
- FloatingActionButton
- vscode
- Snackbar
- navigator
- icon
- drawer
- switch
- scaffoldmessenger
- list
- button
- dart
- AppBar
- Webflow
- TextEditingController
- slider
- textField
- figma
- InputDecoration
- GestureDetector
- ElevatedButton
- Routing
- Scaffold
- sizedbox
- stateful
- PushNamed
Archives
- Today
- Total
๋ชฉ๋กOutlinedButton (1)
์ฌ๋ฐ๋๊ฑฐ๐

๋ค์ํ ๋ฒํผ์ ์ฌ์ฉํ ์ ์๋ค. ๊ฐ์ฅ ๊ธฐ๋ณธ์ ์ธ 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..
๊ฐ๋ฐํ๊ธฐ/Flutter Start
2023. 4. 27. 20:00