flutter_orm 0.0.4 copy "flutter_orm: ^0.0.4" to clipboard
flutter_orm: ^0.0.4 copied to clipboard

An annotation-based ORM for Flutter inspired by the Room persistence library. This library is based on sqflite and wraps it for better APIs.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_orm

With Flutter:

 $ flutter pub add flutter_orm

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

dependencies:
  flutter_orm: ^0.0.4

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:flutter_orm/annotations/dao_annotations.dart';
import 'package:flutter_orm/annotations/db_annotations.dart';
import 'package:flutter_orm/annotations/entity_annotations.dart';
import 'package:flutter_orm/converter/base_converter.dart';
import 'package:flutter_orm/converter/bool_converter.dart';
import 'package:flutter_orm/converter/built_in_support_converters_helper.dart';
import 'package:flutter_orm/converter/date_time_converter.dart';
import 'package:flutter_orm/converter/double_converter.dart';
import 'package:flutter_orm/converter/nullable_bool_converter.dart';
import 'package:flutter_orm/converter/nullable_date_time_converter.dart';
import 'package:flutter_orm/converter/nullable_double_converter.dart';
import 'package:flutter_orm/db_config/db_config.dart';
import 'package:flutter_orm/enums/on_conflict_strategy.dart';
import 'package:flutter_orm/utils/constants.dart';
import 'package:flutter_orm/utils/index.dart';
import 'package:flutter_orm/utils/raw_data.dart';
14
likes
0
pub points
13%
popularity

Publisher

unverified uploader

An annotation-based ORM for Flutter inspired by the Room persistence library. This library is based on sqflite and wraps it for better APIs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, sqflite

More

Packages that depend on flutter_orm