sodium_libs 3.4.0+1 sodium_libs: ^3.4.0+1 copied to clipboard
Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate sodium_libs
Use it
The package has the following executables:
$ sodium_libs_update_web
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sodium_libs
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sodium_libs: ^3.4.0+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:sodium_libs/sodium_libs.dart';