drift/examples
Simon Binder a6549425ef
Serialize and restore file dependencies too
2023-03-25 16:29:07 +01:00
..
app Fix `validateDatabaseSchema` in schema tests 2023-03-23 17:56:50 +01:00
encryption Rebuild 2022-12-31 03:33:54 +00:00
flutter_web_worker_example Rebuild 2022-12-31 03:33:54 +00:00
migrations_example Fix `validateDatabaseSchema` in schema tests 2023-03-23 17:56:50 +01:00
modular Serialize and restore file dependencies too 2023-03-25 16:29:07 +01:00
web_worker_example Deprecate special connect constructor 2023-01-28 16:53:35 +01:00
with_built_value Add rowid parameter to companions 2023-02-19 13:46:58 +01:00
README.md Begin optional modular code generation 2022-11-20 17:28:27 +01:00

README.md

Examples using drift

This collection of examples demonstrates how to use some advanced drift features.

  • app: A cross-platform Flutter app built with recommended drift options.
  • encryption: A very simple Flutter app running an encrypted drift database.
  • 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.
  • modular: Example using drift's upcoming modular generation mode.
  • 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.