sqlite3_library_windows 1.0.0+1 copy "sqlite3_library_windows: ^1.0.0+1" to clipboard
sqlite3_library_windows: ^1.0.0+1 copied to clipboard

discontinuedreplaced by: sqlite3_flutter_libs
outdated

Flutter package to bundle sqlite3 library to your windows apps

SQLite3 library for windows #

This package help you bundle SQLite3 library to your apps.

He was originally developed to use with moor but you can use it for others use cases that need SQLite3.

How to use with Moor #

Be sure to follow all the steps to migrate from moor_flutter to moor ffi (doc).

Open an override for windows:

import 'dart:ffi';
import 'dart:io';
import 'package:sqlite3/sqlite3.dart';
import 'package:sqlite3/open.dart';
import 'package:sqlite3_library_windows/sqlite3_library_windows.dart';

void main() {
  open.overrideFor(OperatingSystem.windows, openSQLiteOnWindows);

  final db = sqlite3.openInMemory();
  db.dispose();
  
  runApp(MyApp());
}

And... that's it! No need to provide your own sqlite3.dll file🙂

7
likes
0
pub points
64%
popularity

Publisher

verified publishermilvintsiss.com

Flutter package to bundle sqlite3 library to your windows apps

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on sqlite3_library_windows