mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
8678df0c4d
gradle does not expand variables if the string has single quotes Closes #37516 https://github.com/dart-lang/sdk/pull/37516 GitOrigin-RevId: ec4cfb0e7cf56d9ec5eb613ce56d553cf44e9bb6 Change-Id: I07eb51bfdbd6a32f2739d2ff7a0882280aec40a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108941 Reviewed-by: Samir Jindel <sjindel@google.com> Commit-Queue: Samir Jindel <sjindel@google.com> |
||
---|---|---|
.. | ||
docs | ||
example | ||
lib | ||
test | ||
.gitignore | ||
pubspec.yaml | ||
README.md |
Sample code dart:ffi
This is an illustrative sample for how to use dart:ffi
.
Building and Running this Sample
Building and running this sample is done through pub.
Running pub get
and pub run example/main
should produce the following output.
$ pub get
Resolving dependencies... (6.8s)
+ analyzer 0.35.4
...
+ yaml 2.1.15
Downloading analyzer 0.35.4...
Downloading kernel 0.3.14...
Downloading front_end 0.1.14...
Changed 47 dependencies!
Precompiling executables... (18.0s)
Precompiled test:test.
$ pub run example/main
1 Chocolade chip cookie Chocolade cookie foo
2 Ginger cookie null 42
3 Cinnamon roll null null
1 Chocolade chip cookie Chocolade cookie foo
2 Ginger cookie null 42
expected exception on accessing result data after close: The result has already been closed.
expected this query to fail: no such column: non_existing_column (Code 1: SQL logic error)
Tutorial
A tutorial walking through the code is available in docs/sqlite-tutorial.md. For information on how to use this package within a Flutter app, see [docs/android.md]. (Note: iOS is not yet supported).