FLUTTER ECOSYSTEM

brick_sqlite_generators

Code generation library for the SQLite providers, models, and adapters in Brick

Latest version
4.1.0
30-day downloads
5.3K
Likes
0
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Brick SQLite Generators is a code generation library that automates the creation of SQLite data models, providers, and adapters in Flutter applications. It integrates with the Brick framework to streamline database interactions by generating boilerplate code from annotations. This reduces manual coding errors and accelerates development for apps requiring local persistent storage. The generated code supports CRUD operations and type-safe queries across multiple platforms.

Use cases
  • Local data persistence in Flutter apps
  • Automated database model generation
  • Type-safe SQLite queries
  • Simplifying CRUD operations
  • Cross-platform database management
Key features
  • Annotation-based code generation
  • Supports Android, iOS, macOS, Windows, Linux
  • Generates models, providers, and adapters
  • Reduces boilerplate code
  • Ensures type safety
Suitable for
  • Flutter developers using SQLite
  • Projects needing offline-first data storage
  • Teams prioritizing code consistency
  • Apps requiring structured local databases
  • Developers wanting automated database setup
Considerations
  • Requires understanding of Brick framework
  • Needs build_runner for code generation
  • Limited to SQLite backend
  • May increase build time
  • Depends on stable Dart/Flutter versions
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add brick_sqlite_generators

Categories

Dependencies

Dependency list 8 items

Source repository

Related projects

No data available yet.