mmap2_flutter 0.2.1
mmap2_flutter: ^0.2.1 copied to clipboard
Flutter plugin for memory-mapped file I/O with native library support.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate mmap2_flutter
Use it
The package has the following executables:
$ mmap2_lib_manager
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mmap2_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mmap2_flutter: ^0.2.1
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:mmap2_flutter/mmap2_flutter.dart';