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

Flutter ์ฅ์ ์ค ํ๋๊ฐ ๋ฐ๋ก, Material๊ณผ Cupertino๋ฅผ ๋์์ ์ฌ์ฉํ ์ ์๋ค๋ ์ ์ด๋ค. Cupertino์ Picker๋ฅผ ์ค๋ ์ ๋ฆฌํ๋ฉด์, ์ง๋ ํฌ์คํ ์ ๋ง๋ Add Card ์ฝ๋๋ฅผ ์กฐ๊ธ ์์ ํด๋ณด๋๋ก ํ๊ฒ ๋ค. 2023.05.14 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_22. CardList, Add Card, TextField, TextArea, Clear Button CupertinoPicker์ ์์ธ ๋ด์ฉ์ ์๋ ๋งํฌ ์ฐธ๊ณ :) https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html CupertinoPicker class - cupertino library - Dart API An iOS-styled picker. D..

์ด๋ฒ ํฌ์คํ ์์๋ Button๊ณผ ํจ๊ป ์ฌ์ฉํ๋ TextField๋ฅผ ๋ฉ๋ชจํด๋ณด๋ ค ํ๋ค. ๋ฒํผ์ ํด๋ฆญํ๋ฉด, ์ ๋ ฅํ ๊ฐ์ SnackBar๋ก ์ถ๋ ฅํด๋ณด๊ฒ ๋ค. 2023.05.02 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_07. ScaffoldMessenger, SnackBar, Function Flutter_07. ScaffoldMessenger, SnackBar, Function ํ๋ฉด ํ๋จ์ ์ฑ ํ๋ก์ธ์ค์ ๋ํ ๊ฐ๋ตํ ๋ฉ์์ง๋ฅผ ์ ๊ณตํ๋ SnackBar๋ฅผ ๋ฉ๋ชจํด๋ณด๊ฒ ๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ๋งํฌ์์ ํ์ธ! https://docs.flutter.dev/cookbook/design/snackbars Display a snackbar How to implement a snackba uraon.tistory.com TextFiel..

์ด๋ฒ ํฌ์คํ ์๋ ํ ์คํธํ๋๋ฅผ ์ ๋ฆฌํด๋ณด๋ ค ํ๋ค. TextField ๊ด๋ จ ๋ด์ฉ์ ์๋ ๋งํฌ ์ฐธ๊ณ :) https://api.flutter.dev/flutter/material/TextField-class.html TextField class - material library - Dart API A Material Design text field. A text field lets the user enter text, either with hardware keyboard or with an onscreen keyboard. The text field calls the onChanged callback whenever the user changes the text in the field. If the user in..

์ง๋ ํฌ์คํ ์ ์ด์ด ์ค๋๋ Function ๋ถ๋ถ์ ๊ตฌํํด๋ณด๋๋ก ํ๊ฒ ๋ค. ์ฝ๋๋ฅผ ๋ค์ ์คํํด๋ณด๊ณ , ํด์ผํ ์ฒดํฌ ํญ๋ชฉ์ ํ์ธํ์ :) ๐ฟ ์ฒดํฌ ํญ๋ชฉ โ Detail Page์์๋ง Play ํ๋ฉด์ ์ง์ ๊ฐ๋ฅ, Detail Page์ ์ถ๋ ฅ์ค์ธ ์ด๋ฏธ์ง๋ฅผ Play ํ๋ฉด์ ์ถ๋ ฅํ์ฌ ์ฌ์ฉ โ SwitchImageChange : ์ด๋ฏธ์ง ๋ณ๊ฒฝ(์ํ/์ํฐ์คํธ) โ SwitchImageSize : ์ด๋ฏธ์ง ์ฌ์ด์ฆ ๋ณ๊ฒฝ(์๊ฒ/ํฌ๊ฒ) & ์ค์์น Label ๋ณ๊ฒฝ(Size-Max/Size-Min) โ SwitchImageShow : ์ด๋ฏธ์ง ์ถ๋ ฅ ์ฌ๋ถ ์ค์ (๋ ธ์ถ/๋น๋ ธ์ถ), ๋น๋ ธ์ถ์ผ ๊ฒฝ์ฐ ํด๋น ์์ญ Color ํ์, ๋ ธ์ถ์ผ ๊ฒฝ์ฐ์๋ง 1๋ฒ ๊ฐ๋ฅ 4) SliderSize : ์ด๋ฏธ์ง ์ฌ์ด์ฆ๋ฅผ 6๋จ๊ณ(0~5) ์ต์ ์ผ๋ก ์ ํํ์ฌ ์กฐ์ 5) Sli..

์ง๋ ํฌ์คํ ์ ์ด์ด ์ค๋์ Function ๋ถ๋ถ์ ๊ตฌํํด๋ณด๋๋ก ํ๊ฒ ๋ค. ์ฝ๋๋ฅผ ๋ค์ ์คํํด๋ณด๊ณ , ํด์ผํ ์ฒดํฌ ํญ๋ชฉ์ ํ์ธํ์ :) 2023.05.08 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_16. Static, Message, Switch, Slider ๐ฟ ์ฒดํฌ ํญ๋ชฉ โ Detail Page์์๋ง Play ํ๋ฉด์ ์ง์ ๊ฐ๋ฅ, Detail Page์ ์ถ๋ ฅ์ค์ธ ์ด๋ฏธ์ง๋ฅผ Play ํ๋ฉด์ ์ถ๋ ฅํ์ฌ ์ฌ์ฉ 1) SwitchImageChange : ์ด๋ฏธ์ง ๋ณ๊ฒฝ(์ํ/์ํฐ์คํธ) 2) SwitchImageSize : ์ด๋ฏธ์ง ์ฌ์ด์ฆ ๋ณ๊ฒฝ(์๊ฒ/ํฌ๊ฒ) & ์ค์์น Label ๋ณ๊ฒฝ(Size-Max/Size-Min) 3) SwitchImageShow : ์ด๋ฏธ์ง ์ถ๋ ฅ ์ฌ๋ถ ์ค์ (๋ ธ์ถ/๋น๋ ธ์ถ), ๋น๋ ธ์ถ์ผ ๊ฒฝ์ฐ ํด๋น ์์ญ Color ํ์ ..

์ค๋์ ์นด๋ ์์ธ ํ์ด์ง์์ FloatingActionButton์ ํด๋ฆญํ๋ฉด, "Play Image" ํ์ด์ง๋ก ์ด๋ํ๊ณ , ํด๋น ํ์ด์ง์์ Swtich์ Slider๋ฅผ ์ฌ์ฉํ ๊ธฐ๋ฅ์ ๋ณต์ตํด๋ณด๋ คํ๋ค. ์ค์์น์ ์ฌ๋ผ์ด๋ ๊ด๋ จ ๋ด์ฉ์ ์๋ ๋งํฌ ์ฐธ๊ณ :) 2023.05.06 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_13. Stateful, Switch, setState, Button Flutter_13. Stateful, Switch, setState, Button ์ค์์น๋ ์ค์์น์ ๊ฐ์ ์๊ณ ์์ ์ ์ญ ๋ณ์๊ฐ ํ์ํ๋ค. ์์ธํ ์๊ฐ๋ ์๋ ๋งํฌ ์ฐธ๊ณ :) https://api.flutter.dev/flutter/material/Switch-class.html Switch class - material library ..

์ด๋ฒ์๋ ์นด๋ ๋ฆฌ์คํธ์์ ์นด๋๋ฅผ ํด๋ฆญํ๋ฉด, ์์ธ ํ์ด์ง๋ก ์ด๋ ํ๋ ๋ถ๋ถ์ ๋ง๋ค์ด ๋ณด๋ คํ๋ค. ์ ํํ ์นด๋์ ์ด๋ฏธ์ง, ํ์ดํ, ๋ด์ฉ ์ ๋ณด๋ฅผ ๊ทธ๋๋ก ์์ธ ํ์ด์ง์ ์ถ๋ ฅํด๋ณด์ :) ๊ฐ์ฒด๊ฐ ์๋ class static ๋ณ์ 1) message.dart ํ์ผ ์์ฑํ๊ณ , ์ฃผ๊ณ ๋ฐ์ ์ ๋ณด Static ์ ์ ๐ static ์ด๋? → ์ด๋์์๋ ์ฌ์ฉํ ์ ์์! ์ธ์คํด์ค์ ๊ท์๋์ง ์๊ณ , ํด๋์ค ํต์งธ๋ก ๊ท์์ด ๋๋๊ฒ. ํจ์ ๋๋ ๋ณ์๊ฐ ํต์งธ๋ก ํด๋์ค์ ๊ท์์ด ๋๋ ๊ฒ! 2) card_list.dart ํ์ผ์์, Card > onTap์ ๋ณด๋ด์ค ์ ๋ณด Message. ์ ์ ํ ์ ๋ณด ๋ด๊ธฐ! 3) card_detail.dart ํ์ผ์์, body์ Message. ์ ๋ณด๋ก ์ถ๋ ฅํ๊ธฐ! 4) ์ ์ฅํ๊ณ , ๋ชฉ๋ก ์์ธ ํ๋ฉด ์ด๋ ํ์ธ 5..

์ค๋์ ์ ์ ๋ง๋ค๋ ์ฝ๋์ ์นด๋ ๋ฆฌ์คํธ ํ์ด์ง๋ฅผ ์ถ๊ฐํด๋ณด๋ คํ๋ค. ๐ฟ ์ฒดํฌ ํญ๋ชฉ 1) home.dart์์ appBar IconButton์ ํด๋ฆญํ๋ฉด, ์นด๋ ๋ฆฌ์คํธ ํ์ด์ง๋ก ์ด๋ํ๋ค. 2) ์นด๋ ๋ฆฌ์คํธ ํ์ด์ง๋ฅผ ๊ตฌํํ๋ค. 3) ํ๋ฉด์ ๋ ์๋ ํ๋กํ ๋ฒํผ์ ๊ตฌํํ๋ค. ์ด์ ์ home.dart๋ฅผ ๋ง๋ค์ด Drawer๋ฅผ ๋ฃ๊ณ , appBar์ IconButton์ ์ถ๊ฐํ์๋ค. Drawer๋ ListView๋ก UserAccountsDrawerHeader์ ListTile๋ฅผ ์ ํ ํ๊ณ , ํ๋ฉ์ธ ํ๋ฉด(์ด๋ฏธ์ง ์ค์์ดํ)์ img_swipe.dart๋ผ๋ ๋ณ๋ ์ ๊ท ํ์ผ์, body ์ฝ๋๋ฅผ ํต์ผ๋ก ๋ถ๋ฆฌํ์๋ค. ์์ ์๊ฐ์ ๋ฐฐ์ด๊ฑฐ ๊ผผ๊ผผํ ๋ณต์ต์ค :) 2023.05.05 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_11. Drawer, Li..

์ค์์น๋ ์ค์์น์ ๊ฐ์ ์๊ณ ์์ ์ ์ญ ๋ณ์๊ฐ ํ์ํ๋ค. ์์ธํ ์๊ฐ๋ ์๋ ๋งํฌ ์ฐธ๊ณ :) https://api.flutter.dev/flutter/material/Switch-class.html Switch class - material library - Dart API A Material Design switch. Used to toggle the on/off state of a single setting. The switch itself does not maintain any state. Instead, when the state of the switch changes, the widget calls the onChanged callback. Most widgets that use a switch..