flutter(37)
-
[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 -
[Flutter] SnackBar
If you call snacbar message, you should call that in Scaffold Widget. use ScaffoldMessenger class ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text("Login Success"),));
2024.01.18 -
[Flutter] Splash
splash like intro. we called same mean that. splash means a first app screen to user. but, If you click my post. because maybe you want to change splash logo or not show splash logo on your screen. I will offer not show splash logo to later. first splash change logo image. you should add 'flutter_native_splash' package. actually, logo change is best way into native platform. but you don't want s..
2024.01.17 -
[Flutter] sqflite SQLite Database #DB
sqflite package is possible as simple query in local device storage.path : https://pub.dev/packages/sqflite sqflite | Flutter PackageFlutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.pub.dev add packageflutter pub add sqflite importimport 'package:sqflite/sqflite.dart'; create database(db)Database db = await openDatabase("my_db.db");@overridevoid disp..
2024.01.16