large Flutter Favorite logosmall Flutter Favorite logo

drift 2.3.0 icon indicating copy to clipboard operation
drift: ^2.3.0 copied to clipboard

Drift is a reactive library to store relational data in Dart and Flutter applications.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add drift

With Flutter:

 $ flutter pub add drift

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  drift: ^2.3.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:drift/drift.dart';
813
likes
140
pub points
98%
popularity

Publisher

verified publisher iconsimonbinder.eu

Drift is a reactive library to store relational data in Dart and Flutter applications.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

async, collection, convert, js, meta, sqlite3, stream_channel

More

Packages that depend on drift