본문 바로가기

반응형

Flutter-플러터/클론코딩

Get x Todo 클론코딩 https://github.com/vnl/flutter_todo_getx GitHub - vnl/flutter_todo_getx: A To-Do List app created using Flutter and GetX. A To-Do List app created using Flutter and GetX. Contribute to vnl/flutter_todo_getx development by creating an account on GitHub. github.com 위 코드를 클론코딩을 했습니다. Get x를 열심히 공부 해야 겠습니다 너무 편합니다. 데이터베이스로 hive를 쓰고 있었는데 Get x에서 기본으로 제공하는 Get storage가... hive 사용법과 상당히 유사한 것 같다. 하나의 상.. 더보기
원가계산기 클론코딩 https://github.com/CantC0unt/RecipeCalculator/blob/master/lib/recipe.dart GitHub - CantC0unt/RecipeCalculator: A simple app made in flutter. A simple app made in flutter. Contribute to CantC0unt/RecipeCalculator development by creating an account on GitHub. github.com 위 계산기를 클론코딩을 하였다. 그제 한 계산기와 거의 같다. 한번 입력된 레시피 양에 슬라이더 값이 변함에 따라 추가적으로 넣어야 하는 레시피가 달라지게 하는 계산기이다. index 관련 오류가 생겼지만 이는 모델에 입력된 순서와.. 더보기
레시피 계산기 클론코딩 https://github.com/blessed-sibanda/recipe-calculator/blob/main/lib/main.dart GitHub - blessed-sibanda/recipe-calculator: Flutter Recipe Calculator App Flutter Recipe Calculator App. Contribute to blessed-sibanda/recipe-calculator development by creating an account on GitHub. github.com 위 코드를 클론코딩을 했다. 내가 진행하려고 하는 코드는 모델이 2개가 필요 Recipe 모델 안에 Ingredient 리스트를 넣는게 중요 ..!1 1. 모델안에 list 선언하는 법 2. Slid.. 더보기
Expense Tracker https://www.youtube.com/watch?v=f7VewR__76I&t=640s&ab_channel=MitchKoko 위 코드를 코딩했다...!! 배운점 1.Hive는 기본적으로 String, DateTime 의 값을 저장 할 수 있는데 복합적인 값의 저장을 위해 convert 함수가 필요로 한다. 아마 내가 하루 지출 어플을 만들었을 때 이와 같은 작업을 하지 않아서 오류가 생긴 것 같다. class HiveDataBase { final _mybox = Hive.box("Expense2"); void saveData(List allExpense) { List allExpenseFormatted = []; for (var expense in allExpense) { List expenseFom.. 더보기
todo 클론코딩 https://github.com/MarlonPassos/TodoApp GitHub - MarlonPassos/TodoApp: Simples lista de tarefas - Flutter Simples lista de tarefas - Flutter. Contribute to MarlonPassos/TodoApp development by creating an account on GitHub. github.com 모델화 한 클래스를 todo에 연결..!! 클래스에서 required의 특징에 대해 알 수 있었다. requied는 반드시 써야 한다는 뜻이고 class Task { String title; bool complete; DateTime createdAt; Task({required this.ti.. 더보기
클론코딩 moneytracker with Hive 1편 JohannesMilke/hive_database_example: Persist data with Flutter's Hive NoSQL Database locally on Android, iOS & Web. (github.com) GitHub - JohannesMilke/hive_database_example: Persist data with Flutter's Hive NoSQL Database locally on Android, iOS & Web. Persist data with Flutter's Hive NoSQL Database locally on Android, iOS & Web. - GitHub - JohannesMilke/hive_database_example: Persist data with.. 더보기
todo 클론코딩 https://github.com/bahrie127/mb_todolist_app/blob/master/lib/home_page.dart GitHub - bahrie127/mb_todolist_app Contribute to bahrie127/mb_todolist_app development by creating an account on GitHub. github.com 배운점 Textfield 파라미터 enabledBorder: 텍스트 필드의 볼더를 준다. OutlineInputBorder() : 상하좌우 테두리 UnderlineInputBorder() : 하단 테두리 InputBorder.none : 테두리 없앰. Container 파라미터 mainAxisSize: MainAxisSize.min :크기.. 더보기
클론코딩 Todo ToDoFlutter/lib at main · mitchkoko/ToDoFlutter (github.com) GitHub - mitchkoko/ToDoFlutter Contribute to mitchkoko/ToDoFlutter development by creating an account on GitHub. github.com 위에 코드를 클론코딩했다. 배운점 1. Hive void main()async { await Hive.initFlutter(); var box = await Hive.openBox('mybox'); runApp(const MyApp()); } class ToDoDataBase { List toDoList = []; // 저장박스를 선언 final _myBox = Hive.box(.. 더보기

반응형