Skip to content

Commit eb6c87e

Browse files
committed
Migrate multiplatform example
1 parent f7abffb commit eb6c87e

File tree

10 files changed

+5
-3
lines changed

10 files changed

+5
-3
lines changed
File renamed without changes.
File renamed without changes.

sqlite3/example/multiplatform/pubspec.yaml renamed to examples/multiplatform/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ name: sqlite3_multiplatform_example
22
description: Uses common interface to `sqlite3` on web and native platforms.
33
version: 0.1.0
44
publish_to: 'none'
5+
resolution: workspace
56

67
environment:
7-
sdk: ">=2.12.0 <4.0.0"
8+
sdk: "^3.9.0"
89

910
dependencies:
1011
path: ^1.8.3
1112
path_provider: ^2.1.1
1213
sqlite3: ^3.0.0-0
1314

1415
dev_dependencies:
15-
lints: ^3.0.0
16+
lints: ^6.0.0

examples/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ environment:
66

77
workspace:
88
- flutter_integration_tests
9+
- multiplatform
910

1011
dependency_overrides:
1112
sqlite3:

sqlite3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ An example for such web folder is in `example/web/` of this repo.
9696
To view the example, copy a compiled `sqlite3.wasm` file to `web/sqlite3.wasm` in this directory.
9797
Then, run `dart run build_runner serve example:8080` and visit `http://localhost:8080/web/` in a browser.
9898

99-
Another `example/multiplatform/` uses common interface to `sqlite3` on web and native platforms.
99+
Another `../examples/multiplatform/` uses common interface to `sqlite3` on web and native platforms.
100100
To run this example, merge its files into a Flutter app.
101101

102102
### Sharing code between web and a Dart VM

0 commit comments

Comments
 (0)