drift/examples/README.md

10 lines
599 B
Markdown
Raw Normal View History

2022-04-01 13:11:21 -07:00
## Examples using drift
This collection of examples demonstrates how to use some advanced drift features.
2022-04-02 09:01:10 -07:00
- `app`: A cross-platform Flutter app built with recommended drift options.
2022-04-01 13:11:21 -07:00
- `flutter_web_worker_example`: Asynchronously run a drift database through a web worker with Fluter.
- `migrations_example`: Example showing to how to generate test utilities to verify schema migration.
- `web_worker_-_example`: Asynchronously run a drift database through a web worker, without Flutter.
- `with_built_value`: Configure `build_runner` so that drift-generated classes can be used by `build_runner`.