drift/examples
Simon Binder 28417c52af
Fix lints and warnings added in Dart 3.0
2023-05-12 22:42:21 +02:00
..
app Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
encryption Rebuild 2022-12-31 03:33:54 +00:00
flutter_web_worker_example Simplify creation of web workers for drift 2023-04-10 23:01:30 +02: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 Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
with_built_value Add rowid parameter to companions 2023-02-19 13:46:58 +01:00
README.md small typo fixes (#2410) 2023-05-05 16:10:52 +02: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 Flutter.
  • 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.