728x90
반응형

DART 18

[Flutter] Drift

Flutter 에서 로컬 데이터베이스 패키지 중 하나인 Drift 에 대해서 포스팅합니다. Drift 는 Sqlflite 와 다르게 ORM 방식의 데이터베이스 입니다. ORM 은 Object Relational Mapping (객체-관계 매핑), 쉽게 말해서 객체와 관계형 데이터베이스의 데이터를 연결해주는 것을 말합니다. Android 의 Room , Spring 의 JPA, Node.js 의 Sequelize 등을 써보신 분은 익숙할 것입니다. drift | Dart Package Drift is a reactive library to store relational data in Dart and Flutter applications. pub.dev pubspec.yaml dependencies: dri..

Flutter/Package 2022.07.25

[Flutter] Sqlflite

Flutter 에서 로컬 데이터베이스 패키지 중 하나인 Sqlflite 에 대해서 포스팅합니다. 간단한 화면과 CRUD 를 구현해보려고 합니다. sqflite | Flutter Package Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine. pub.dev pubspec.yaml dependencies: sqflite: ^2.0.3 todo.dart 로컬DB 로 흔히 구현하는 Todo 로 만들어봤습니다. autoincrement 로 제약을 걸 예정인 id 는 nullable 로 두겠습니다. class Todo { String title; bool done; int? id; Todo({ re..

Flutter/Package 2022.07.24

[Flutter] Freezed

Freezed 는 data class 에서 필요한 기능들을 제공해주는 매우 유용한 라이브러리 입니다. freezed | Dart Package Code generation for immutable classes that has a simple syntax/API without compromising on the features. pub.dev pubspec.yaml dependencies: freezed_annotation: ^2.1.0 dev_dependencies: build_runner: ^2.2.0 freezed: ^2.1.0+1 json_serializable: ^6.3.1 Class 작성 import 'package:freezed_annotation/freezed_annotation.dart'..

Flutter/Package 2022.07.22

[Flutter] TableCalendar ⑤ - 유용한 기능들

TableCalendar ① - 간단한 달력 구현 https://dalgoodori.tistory.com/14 TableCalendar ② - 달력 언어 설정 (locale) https://dalgoodori.tistory.com/15 TableCalendar ③ - 달력 꾸미기 (HeaderStyle) https://dalgoodori.tistory.com/16 TableCalendar ④ - 달력 꾸미기 (CalendarStyle) https://dalgoodori.tistory.com/17 TableCalendar ⑤ - 유용한 기능들 TableCalendar 는 여러 기능들이 있지만 사용자가 별도로 구현해놓지 않으면 깡통 달력과 다를바 없습니다. 이번에는 가장 많이 쓰이는 기능 3가지를 알아보려 ..

Flutter/Package 2022.07.20

[Flutter] TableCalendar ④ - 달력 꾸미기 (CalendarStyle)

TableCalendar ① - 간단한 달력 구현 https://dalgoodori.tistory.com/14 TableCalendar ② - 달력 언어 설정 (locale) https://dalgoodori.tistory.com/15 TableCalendar ③ - 달력 꾸미기 (HeaderStyle) https://dalgoodori.tistory.com/16 TableCalendar ④ - 달력 꾸미기 (CalendarStyle) TableCalendar ⑤ - 유용한 기능들 https://dalgoodori.tistory.com/18 TableCalendar 에서 몸통 부분은 헤더 아래 부분이며 CalendarStyle을 통하여 꾸밀 수 있습니다. CalendarStyle 을 통해 꾸밀 수 있는 ..

Flutter/Package 2022.07.18

[Flutter] TableCalendar ③ - 달력 꾸미기 (HeaderStyle)

TableCalendar ① - 간단한 달력 구현 https://dalgoodori.tistory.com/14 TableCalendar ② - 달력 언어 설정 (locale) https://dalgoodori.tistory.com/15 TableCalendar ③ - 달력 꾸미기 (HeaderStyle) TableCalendar ④ - 달력 꾸미기 (CalendarStyle) https://dalgoodori.tistory.com/17 TableCalendar ⑤ - 유용한 기능들 https://dalgoodori.tistory.com/18 TableCalendar 에서 헤더 부분은 아래 사진 빨간 네모 부분이며 HeaderStyle 을 통하여 꾸밀 수 있습니다. HeaderStyle() 에 들어갈 수 ..

Flutter/Package 2022.07.16

[Flutter] TableCalendar ② - 달력 언어 설정 (locale)

TableCalendar ① - 간단한 달력 구현 https://dalgoodori.tistory.com/14 TableCalendar ② - 달력 언어 설정 (locale) TableCalendar ③ - 달력 꾸미기 (HeaderStyle) https://dalgoodori.tistory.com/16 TableCalendar ④ - 달력 꾸미기 (CalendarStyle) https://dalgoodori.tistory.com/17 TableCalendar ⑤ - 유용한 기능들 https://dalgoodori.tistory.com/18 이전 글에서 TableCalendar가 쉽게 달력을 띄워줄 수 있는 것을 알았고, 이번 글에서는 TableCalendar의 언어 설정에 대해서 알아보려고 합니다. 1..

Flutter/Package 2022.07.15

[Flutter] TableCalendar ① - 간단한 달력 구현

TableCalendar ① - 간단한 달력 구현 TableCalendar ② - 달력 언어 설정 (locale) https://dalgoodori.tistory.com/15 TableCalendar ③ - 달력 꾸미기 (HeaderStyle) https://dalgoodori.tistory.com/16 TableCalendar ④ - 달력 꾸미기 (CalendarStyle) https://dalgoodori.tistory.com/17 TableCalendar ⑤ - 유용한 기능들 https://dalgoodori.tistory.com/18 Flutter에서는 Todo 기능에서 빠질 수 없는 달력을 쉽게 구현할 수 있는 방법이 있습니다. https://pub.dev/packages/table_calend..

Flutter/Package 2022.07.15
728x90
반응형