flutter_lmdb2 0.9.5
flutter_lmdb2: ^0.9.5 copied to clipboard
Flutter plugin to include native LMDB (Lightning Memory-Mapped Database), providing both high-level convenience methods and low-level transaction control.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_lmdb2
Use it
The package has the following executables:
$ fetch_native
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_lmdb2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_lmdb2: ^0.9.5
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_lmdb2/lmdb.dart';
import 'package:flutter_lmdb2/tool/fetch_native.dart';