declarative_sqlite_generator 1.0.0
declarative_sqlite_generator: ^1.0.0 copied to clipboard
A build generator that generates data classes for interacting with table rows and view rows from declarative_sqlite schemas.
1.0.0 #
Features #
@GenerateDbRecord
annotation for generating typed record classes@DbSchema()
annotation for marking schema definition functions- Automatic discovery of schema functions (no build.yaml required)
- Code generation for typed getters and setters
- Build system integration with
build_runner
Code Generation #
- Generates
.db.dart
part files with typed accessors - Type-safe database record operations
- Automatic schema analysis and code generation
Documentation #
- Complete setup guide without build.yaml configuration
- Usage examples with proper annotations
- Integration with DeclarativeSQLite core package