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

์ค๋์ ์นด๋ ์์ธ ํ์ด์ง์์ 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..

1. Designus - UIUX https://designus.io/reference ๋์์ด๋์ค ์ธ์์ ๋ชจ๋ ๋์์ด๋๋ค์ ์ํ ๊ณต๊ฐ, ๋์์ด๋์ค(Designus) designus.io #ํ ํฝ : ํฌํ ๊ฒฐ๊ณผ ๋ฐ ๋ค๋ฅธ ์ฌ๋๋ค์ ์๊ฒฌ์ ๋๊ธ๋ก ํ์ธ ๊ฐ๋ฅ #๋ ํผ๋ฐ์ค ๋ผ์ด๋ธ๋ฌ๋ฆฌ : ๋ค์ํ ์ฑ ํ๋ฉด์ UIUX ๋ ํผ๋ฐ์ค ํ์ธ ๊ฐ๋ฅ ์๋ง์ ์ฑ๋ค์ ๋ชจ๋ ์ค์นํด์ ๋ณด๋ ค๋ฉด ์๊ฐ์ด ๋๋ฌด ๋ง์ด ์์๋๋ค. ๋ฏธ๋ฆฌ ์ฑํ๋ฉด์ ์ฒดํน ํ ์ ์๊ณ , ์ฑ์ด ์ข๋ค๋ฉด ๋ฐ๋ก ๋ค์ด๋ก๋ ๊ฐ๋ฅ!๐ 2. Coolors https://coolors.co/ Coolors - The super fast color palettes generator! Generate or browse beautiful color combinations for your desi..

์ง๋ ๋ฒ ๋ณ๋ ํ์ผ๋ก body๋ฅผ ๋ถ๋ฆฌํ์๋ค. ์ด์ด์ ํํ๋ฉด์ ๋ง๋ค์ด ๋ณด๊ฒ ๋ค. ํ์ผ์ img_swipe.dart ์ ์ด์ด์ ์์ ํ ์์ ์ด๋ค. 2023.05.05 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_11. Drawer, ListTitle, Navigator, body, class, Stateful Flutter_11. Drawer, ListTitle, Navigator, body, class, Stateful ์ค๋์ ์ง๋๋ฒ ํฌ์คํ ์ ์ด์ด์ Drawer์ ๋ฆฌ์คํธ๋ฅผ ๋ง๋ค๊ณ ํ์ด์ง ์ด๋์ ์์ผ๋ณด๋๋ก ํ๊ฒ ๋ค. 2023.05.04 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_10. Drawer, AppBar IconButton Flutter_10. Drawer, AppBar IconButton ์ค๋์ AppBar์ IconBu..

์ค๋์ ์ง๋๋ฒ ํฌ์คํ ์ ์ด์ด์ Drawer์ ๋ฆฌ์คํธ๋ฅผ ๋ง๋ค๊ณ ํ์ด์ง ์ด๋์ ์์ผ๋ณด๋๋ก ํ๊ฒ ๋ค. 2023.05.04 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_10. Drawer, AppBar IconButton Flutter_10. Drawer, AppBar IconButton ์ค๋์ AppBar์ IconButton์ ๋ฃ๊ณ , ํด๋ฆญ์ Drawer๋ฅผ ์ด์ด๋ณด๋ ๊ฒ์ ๋ฉ๋ชจํ๋ คํ๋ค. AppBar์ ์ฌ์ฉ๋๋ IconButton์ ์์น์ ๋ฐ๋ผ leading, actions๋ก ๋๋๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ๋งํฌ ํ์ธ! :) https://api.flutter.dev/ uraon.tistory.com Routing, Drawer, ListView 1) ํด๋ "page"์ ํ์ผ ์ถ๊ฐํ๊ณ , main.dart ํ์ผ์ Routing ์ ..

์ค๋์ AppBar์ IconButton์ ๋ฃ๊ณ , ํด๋ฆญ์ Drawer๋ฅผ ์ด์ด๋ณด๋ ๊ฒ์ ๋ฉ๋ชจํ๋ คํ๋ค. AppBar์ ์ฌ์ฉ๋๋ IconButton์ ์์น์ ๋ฐ๋ผ leading, actions๋ก ๋๋๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ๋งํฌ ํ์ธ! :) https://api.flutter.dev/flutter/material/AppBar-class.html AppBar class - material library - Dart API A Material Design app bar. An app bar consists of a toolbar and potentially other widgets, such as a TabBar and a FlexibleSpaceBar. App bars typically expose one or..

Flutter_08๋ฒ์์ ๋ง๋ ์ฝ๋์ Button์ ์ถ๊ฐํ๊ณ , Push๋ก ์ด๋ํ๋ ๊ฒ์ ์ถ๊ฐํด๋ณด๊ฒ ๋ค. [์ฐธ๊ณ : 2023.05.03 - [๊ฐ๋ฐํ๊ธฐ] - Flutter_08. AlertDialog, Navigator, Routing, PushNamed ] Navigator, Push 1) home.dart ํ์ผ์ GestureDetector๋ฅผ Column์ผ๋ก ๋ฉํ 2) Button 2๊ฐ๋ฅผ Row๋ก ์ถ๊ฐํ๊ณ , ํ๋ฉด ์ ๋ ฌ 3) ์ ์ฅํ๊ณ ํ๋ฉด ํ์ธ 4) Button์ Navigator.push(); ์ถ๊ฐ context๋ ํ์ฌ ํ๋ฉด์ ์ ์ฅํ๊ณ , ์ถํ ํ๋ฉด ์ด๋ ํ ๋์์ฌ๋ ๋ค์ ๋ณด์ฌ์ค๋๋ค. 5) route์ MaterialPageRoute(builder: ) ์ถ๊ฐ return์ ํ์ด์ง1๋ฒ A๋ก ๋ฃ์ด์ค๋๋ค. 6) ..