You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/supabase-todolist-drift/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# PowerSync + Supabase + Drift Flutter Demo: Todo List App
2
2
3
3
This demo app is an extension of the [Supabase Todo List App](../supabase-todolist/README.md) and showcases how to set up and use the [drift_sqlite_async](https://pub.dev/packages/drift_sqlite_async) library (Drift ORM) with PowerSync.
4
+
This demo also uses [riverpod](https://riverpod.dev) to highlight best practices for state management.
4
5
5
6
Notes about the Drift usage are [further below](#drift).
6
7
@@ -52,5 +53,5 @@ Insert the credentials of your new Supabase and PowerSync projects into `lib/app
52
53
The `database.g.dart` file containing the \_$AppDatabase class has to be generated if there are changes made to the `database.dart` file.
53
54
54
55
- `dart run build_runner build`generates all the required code once.
55
-
- `dart run build_runner build --delete-conflicting-outputs`deletes previously generated files and generates the required code once.
56
+
- `dart run build_runner build -d`deletes previously generated files and generates the required code once.
56
57
- `dart run build_runner watch`watches for changes in your sources and generates code with incremental rebuilds. This is better for development.
0 commit comments