FLUTTER ECOSYSTEM

sqflite

Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.

Latest version
2.4.2+1
30-day downloads
2.1M
Likes
5.5K
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Sqflite is a Flutter plugin that provides access to SQLite, a lightweight, embedded SQL database engine. It enables local data storage with full SQL support on Android, iOS, and macOS. Designed for reliability and performance, it allows developers to manage structured data efficiently within apps. The package supports asynchronous operations and integrates seamlessly with Dart’s async/await syntax. Ideal for offline-first applications requiring persistent, relational data storage.

Use cases
  • Offline data persistence
  • Local caching of app data
  • Database-backed forms and lists
  • Storing user preferences
  • Managing complex data relationships
Key features
  • Full SQL support
  • Cross-platform compatibility
  • Asynchronous operations
  • Lightweight and embedded
  • Supports transactions
Suitable for
  • Apps needing offline functionality
  • Data-heavy applications
  • Simple to moderate database needs
  • Developers familiar with SQL
  • Projects requiring local storage
Considerations
  • Not suitable for large-scale databases
  • Manual schema management required
  • Limited real-time sync capabilities
  • No built-in migration tools
  • Requires careful handling of database versioning
Supported platformsAndroidiOSmacOS

Install package

flutter pub add sqflite

Categories

Source repository

Related projects

Rankings