isar_community_generator
3.4.1, released 5 weeks ago by isar-community.dev
Code generator for the Isar Database to find and process classes annotated with @Collection.
What it does
It is the companion code generator for the Isar Database. It processes classes annotated with @Collection to generate the necessary database schema and querying code.
AI-written summary of version 3.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using the Isar Database in your Dart or Flutter project
- You need to generate database mapping and query code for annotated models
Skip it when
- You are not using the Isar Database
- You prefer schema definitions without code generation
Strengths
- Automates boilerplate code generation for Isar models
- Integrates seamlessly with the build system
Weaknesses
- Requires running a build step during development
- Not documented locally, requires referring to the main Isar repository
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- Yes (build_runner)
- Direct dependencies
- 9
Requires setting up build_runner to generate code alongside isar_community.
not documentedAlternatives
Packages that do the same job and could replace isar_community_generator.
Works with
Packages commonly used together with isar_community_generator: ones it builds on, ones built on it, and its own family.
- analyzerisar_community_generator depends on itPerforms static analysis of Dart code for tool integration and embedding.
- globisar_community_generator depends on itA file and directory globbing library that supports Bash-style path matching and listing.
- dart_styleisar_community_generator depends on itProvides an API and CLI to format Dart source code automatically.
- buildisar_community_generator depends on itPackage for authoring build_runner compatible code generators.
- source_genisar_community_generator depends on itSource code generation builders and utilities for the Dart build system.
- dartxisar_community_generator depends on itCollection of useful static extension methods for Dart core types.
- xxh3isar_community_generator depends on itPure‑Dart implementation of the XXH3 64‑bit non‑cryptographic hash algorithm.
- isar_communityisar_community_generator depends on itExtremely fast NoSQL database for Flutter with static typing and asynchronous queries.