mirror of https://github.com/AMT-Cheif/drift.git
Update flutter web worker example too
This commit is contained in:
parent
6e79a5b58c
commit
e4671d40f7
|
@ -1,7 +1,7 @@
|
||||||
This example demonstrates how a shared web worker can be used with Drift and Flutter.
|
This example demonstrates how a shared web worker can be used with Drift and Flutter.
|
||||||
|
|
||||||
To run this example:
|
To run this example:
|
||||||
- Run `./generate_js.sh`
|
- Run `./generate_js.sh`
|
||||||
- Then, run `flutter run` and select a browser to run the example
|
- Then, run `flutter run` and select a browser to run the example
|
||||||
|
|
||||||
For more information visit https://drift.simonbinder.eu/web/
|
For more information visit https://drift.simonbinder.eu/web/
|
||||||
|
|
|
@ -6,7 +6,7 @@ part of 'database.dart';
|
||||||
// MoorGenerator
|
// MoorGenerator
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
// ignore_for_file: unnecessary_brace_in_string_interps, unnecessary_this
|
// ignore_for_file: type=lint
|
||||||
class Entrie extends DataClass implements Insertable<Entrie> {
|
class Entrie extends DataClass implements Insertable<Entrie> {
|
||||||
final int id;
|
final int id;
|
||||||
final String value;
|
final String value;
|
||||||
|
|
|
@ -18,9 +18,9 @@ dev_dependencies:
|
||||||
drift_dev:
|
drift_dev:
|
||||||
|
|
||||||
dependency_overrides:
|
dependency_overrides:
|
||||||
drift:
|
drift:
|
||||||
path: ../../drift
|
path: ../../drift
|
||||||
drift_dev:
|
drift_dev:
|
||||||
path: ../../drift_dev
|
path: ../../drift_dev
|
||||||
sqlparser:
|
sqlparser:
|
||||||
path: ../../sqlparser
|
path: ../../sqlparser
|
||||||
|
|
Loading…
Reference in New Issue