brick_sqlite_abstract 1.2.0 brick_sqlite_abstract: ^1.2.0 copied to clipboard
Annotations and other support for Brick SQLite that does not rely on dart:mirrors
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add brick_sqlite_abstract
With Flutter:
$ flutter pub add brick_sqlite_abstract
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
brick_sqlite_abstract: ^1.2.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:brick_sqlite_abstract/annotations.dart';
import 'package:brick_sqlite_abstract/db.dart';
import 'package:brick_sqlite_abstract/sqlite_model.dart';