Skip to content

Commit 558a1b5

Browse files
committed
Link custom extension example
1 parent 3395710 commit 558a1b5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

sqlite3/example/custom_extension/example/pubspec.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@ dev_dependencies:
2626

2727
flutter_lints: ^3.0.0
2828

29+
dependency_overrides:
30+
sqlite3:
31+
path: ../../../
32+
sqlite3_flutter_libs:
33+
path: ../../../../sqlite3_flutter_libs
34+
2935
flutter:
3036
uses-material-design: true

sqlite3/lib/src/ffi/api.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ abstract interface class Sqlite3 implements CommonSqlite3 {
5959
/// For an example of how to write and load extensions, see
6060
/// - this C file: https://github.com/simolus3/sqlite3.dart/blob/main/sqlite3/test/ffi/test_extension.c
6161
/// - this Dart test loading it: https://github.com/simolus3/sqlite3.dart/blob/a9a379494c6b8d58a3c31cf04fe16e83b49130f1/sqlite3/test/ffi/sqlite3_test.dart#L35
62+
/// - Or, alternatively, this Flutter example: https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3/example/custom_extension
6263
abstract interface class SqliteExtension {
6364
/// A sqlite extension having the given [extensionEntrypoint] as a function
6465
/// pointer.

0 commit comments

Comments
 (0)