floor_community 1.0.0
floor_community: ^1.0.0 copied to clipboard
The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the runtime dependency.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add floor_communityThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
floor_community: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:floor_community/annotation/floor_annotation.dart';
import 'package:floor_community/annotation/src/column_info.dart';
import 'package:floor_community/annotation/src/dao.dart';
import 'package:floor_community/annotation/src/database.dart';
import 'package:floor_community/annotation/src/database_view.dart';
import 'package:floor_community/annotation/src/delete.dart';
import 'package:floor_community/annotation/src/entity.dart';
import 'package:floor_community/annotation/src/foreign_key.dart';
import 'package:floor_community/annotation/src/fts.dart';
import 'package:floor_community/annotation/src/ignore.dart';
import 'package:floor_community/annotation/src/index.dart';
import 'package:floor_community/annotation/src/insert.dart';
import 'package:floor_community/annotation/src/on_conflict_strategy.dart';
import 'package:floor_community/annotation/src/primary_key.dart';
import 'package:floor_community/annotation/src/query.dart';
import 'package:floor_community/annotation/src/transaction.dart';
import 'package:floor_community/annotation/src/type_converter.dart';
import 'package:floor_community/annotation/src/type_converters.dart';
import 'package:floor_community/annotation/src/update.dart';
import 'package:floor_community/common/floor_common.dart';
import 'package:floor_community/common/src/adapter/deletion_adapter.dart';
import 'package:floor_community/common/src/adapter/insertion_adapter.dart';
import 'package:floor_community/common/src/adapter/migration_adapter.dart';
import 'package:floor_community/common/src/adapter/query_adapter.dart';
import 'package:floor_community/common/src/adapter/update_adapter.dart';
import 'package:floor_community/common/src/callback.dart';
import 'package:floor_community/common/src/database.dart';
import 'package:floor_community/common/src/extension/on_conflict_strategy_extensions.dart';
import 'package:floor_community/common/src/migration.dart';
import 'package:floor_community/common/src/util/constants.dart';
import 'package:floor_community/common/src/util/primary_key_helper.dart';
import 'package:floor_community/common/src/util/string_utils.dart';
import 'package:floor_community/ffi/floor_ffi.dart';
import 'package:floor_community/ffi/src/sqflite_database_factory.dart';
import 'package:floor_community/floor.dart';