# pinchbv/floor

The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications

Repository: https://github.com/pinchbv/floor
Canonical: https://ross.abutalabs.com/products/floor
Homepage: https://pinchbv.github.io/floor/
Language: Dart
License: Apache-2.0
License Family: permissive
Topics: flutter, dart, sqlite
Last push: 2024-08-16T07:32:11+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2782, "days_push": 747, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1025, forks 214 (observed 2026-08-28T04:03:16.617599+00:00)

## What it is
Floor is a typesafe, reactive, and lightweight SQLite abstraction library for Flutter applications, inspired by Android's Room persistence library. It maps in-memory objects to database rows via annotations and code generation while letting developers write raw SQL for full database control.

## Use cases
- persist Flutter app data in SQLite
- map Dart objects to database rows
- run reactive queries that emit Streams on data changes
- define DAOs with annotated SQL queries
- build offline-first mobile apps with local storage
- generate database boilerplate code with build_runner

## When to choose
- you build Flutter apps and want a Room-like SQLite layer
- you prefer writing SQL over a full ORM's query DSL
- you need reactive data streams from database queries
- you want lightweight persistence across iOS, Android, and desktop

## When to avoid
- you want a NoSQL or key-value store
- you need a full ORM with automatic migrations and no SQL knowledge
- your project is not Flutter/Dart
- you need server-side database access

## Facets
- artifact type: library
- maturity: active
- function: orm, database, database-driver, serialization
- domain: databases, mobile-development, cross-platform, developer-tools
- platform: cross-platform, windows
- tags: flutter, sqlite, room-inspired, code-generation, dao, reactive-queries, persistence, android, ios, macos, linux, mobile

## Member repositories
- pinchbv/floor (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.617599+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:05.163338+00:00, confidence not recorded.
  - readme: https://github.com/pinchbv/floor (fetched 2026-08-28T04:03:16.617599+00:00, sha a4e00ea5e460)
  - homepage: https://pinchbv.github.io/floor/ (fetched 2026-08-29T13:08:20.291898+00:00, sha 2a4b5efb785d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
