Replies: 1 comment
-
Drift is a pure-Dart package and does not require Flutter at all. However, I the vast majority of its users are probably using drift in Flutter apps and the documentation is written with that target in mind. That's also why the documentation recommends using So, drift will probably work for you after picking the location where the database is stored without |
Beta Was this translation helpful? Give feedback.
-
Hello,
Here is the contents of the pubspec.yaml file:
I was able to generate the tables and database classes, but when I try to run simple unit tests, I get a bunch of errors coming from a bunch of flutter packages.
It starts with "/C:/src/flutter/packages/flutter/lib/src/foundation/binding.dart:196:3: Error: Type 'ui.SingletonFlutterWindow' not found.".
So, I suspect that Drift requires Flutter.
Can someone confirm me that ?
Many thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions