all(72)
-
[Flutter] Calendar, DateTime, Intl, TimeOfDay
flutter pub add calendar importimport 'package:table_calendar/table_calendar.dart'; code body: SafeArea( top: true, child: TableCalendar( focusedDay: DateTime.now(), // focus date firstDay: DateTime(2019, 12, 5), // first date lastDay: DateTime(2024, 1, 30), // last date // --- required selectedDayPre..
2024.01.20 -
[Flutter] http, https
HTTP : Hyper Text Transfer Protocol http://www.domain.com:80/index/other/page?x=a&y=b http : protocol www.domain.com : host 80: port numberhttp = 80https = 443ftp = 20, 21 index/other/page: resource path ?x=a&y=b: query REST API(Respresentational State Transfer)we use this communicate client and server.GET, POST, PUT, DELETE pub addflutter pub add http import import 'package:http/http.dart';..
2024.01.20 -
[Flutter] ImagePicker, GallerySaver #camera #gallery
you want select something images your gallery on device. flutter pub add image_picker importimport 'package:image_picker/image_picker.dart'; property XFile? imageFile; select Image void onPickImage() async { final XFile? selectImage = await ImagePicker().pickImage( source: ImageSource.gallery, ); setState(() { imageFile = selectImage; }); } seled Image show viewe..
2024.01.20 -
[Flutter] Error:Build failed due to use of deprecated Android v1 embedding.
Your Flutter application is created using an older version of the Android embedding. It is being deprecated in favor of Android embedding v2. To migrate your project, follow the steps at Build failed due to use of deprecated Android v1 embedding. I don't know this error warning. so I open my android project. that have not AndroidManifest.xml file. so I create AndroidManifest.xml file. and add th..
2024.01.20 -
[Flutter] GestureDetector
onTap() : 한 번 터치한 경우 onDoubleTap() : 연속으로 두 번 터치 한 경우 onLongPress() : 길게 누른 경우 onScale() : 터치를 두 곳을 하여 확대, 축소를 한 경우 onScaleUpdate(ScaleUpdateDetails details) : 확대 비율이 변경된 경우 onScaleEnd(ScaleEndDetails details) : 화대 비율 변경을 완료한 경우 onVerticalDragStart() : 수직으로 드래그가 시작된 경우 onVerticalDragEnd() : 수직 드래그가 끝난 경우 onHorizontalDragStart() : 수평으로 드래그가 시작된 경우 onHorizontalDragEnd() : 수평으로 드래그가 끝난 경우 onPanStar..
2024.01.20