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

์ง๋ ๋ฒ ๋ณ๋ ํ์ผ๋ก 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) ..

Flutter๋ ํ๋ฉด ๊ฐ ํ์ ๋ฐ ๋ฅ ๋งํฌ ์ฒ๋ฆฌ๋ฅผ ์ํ ์์ ํ ์์คํ ์ ์ ๊ณตํ๋ค๊ณ ํ๋ค. ๋ด๋น๊ฒ์ด์ ๊ณผ ๋ผ์ฐํฐ๋ฅผ ์ด์ฉํ ํ๋ฉด ์ด๋์ ๋ณต์ตํด๋ณด๊ฒ ๋ค :) ์์ธํ ๋ด์ฉ ๋ฐ ์ถ๊ฐ์ ์ธ ๋ ์ํผ๋ ์๋ ๋งํฌ์์ ํ์ธ! https://docs.flutter.dev/ui/navigation Navigation and routing Overview of Flutter's navigation and routing features docs.flutter.dev https://docs.flutter.dev/cookbook#navigation Cookbook The Flutter cookbook provides recipes for many commonly performed tasks. docs.flutter.dev Gesture..

ํ๋ฉด ํ๋จ์ ์ฑ ํ๋ก์ธ์ค์ ๋ํ ๊ฐ๋ตํ ๋ฉ์์ง๋ฅผ ์ ๊ณตํ๋ SnackBar๋ฅผ ๋ฉ๋ชจํด๋ณด๊ฒ ๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ๋งํฌ์์ ํ์ธ! https://docs.flutter.dev/cookbook/design/snackbars Display a snackbar How to implement a snackbar to display messages. docs.flutter.dev https://m2.material.io/components/snackbars#anatomy Material Design Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams ..

์ ์ค์ฒ๋ฅผ ๊ฐ์งํ๋ ์์ ฏ "GestureDetector"๋ฅผ ์ฌ์ฉํ AlertDialog ์ถ๋ ฅ์ ๋ฉ๋ชจํด๋ณด๊ฒ ๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ๋งํฌ์์ ํ์ธ! https://api.flutter.dev/flutter/widgets/GestureDetector-class.html GestureDetector class - widgets library - Dart API A widget that detects gestures. Attempts to recognize gestures that correspond to its non-null callbacks. If this widget has a child, it defers to that child for its sizing behavior. If it does not ha..

์ค๋์ Flutter_01~03์์ ๋ง๋ ํ๋กํ ํ์ด์ง ๋ฒํผ์ ๋งํฌ๋ฅผ ๊ฑธ์ด๋ณด๊ฒ ๋ค. ์์ ์๊ฐ์ ์๊ฒ๋ pub.dev์์ ๊ฒ์ํด๋ณด์๋ค :) Plugin for launching a URL 1) pub.dev์์ ๊ฒ์ - https://pub.dev์ ์ - url ๊ฒ์ : "url_launcher" ํด๋ฆญ โ URL๋ผ์ด์ฒ = URL์ ์์ํ๊ธฐ ์ํ Flutter ํ๋ฌ๊ทธ์ธ! 2) ๋ณต์ฌ url_launcher: ^6.1.10 3) pubspec.yaml ํ์ผ์ ๋ถ์ฌ๋ฃ๊ณ ์ ์ฅ 4) ์ด์ Dart ์ฝ๋์ url_launcher ์ฌ์ฉ ๊ฐ๋ฅ import 'package:url_launcher/url_launcher.dart'; Url, async Function 1) Url์ ๋ด์ final ๋ณ์ ์ ์ธ final Uri..

๋ค์ํ ๋ฒํผ์ ์ฌ์ฉํ ์ ์๋ค. ๊ฐ์ฅ ๊ธฐ๋ณธ์ ์ธ 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..