argon2_ffi_base 0.1.0+1

  • Readme
  • Changelog
  • Installing
  • 61

argon2_ffi_base #

only contains the interfaces, which are independent of flutter, so kdbx.dart can depend on it, without a dependency on flutter.

for flutter use https://github.com/hpoul/argon2_ffi

[0.1.0+1] #

  • Fix loading of shared library.

[0.0.1] #

  • Initial release

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  argon2_ffi_base: ^0.1.0+1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:argon2_ffi_base/argon2_ffi_base.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
35
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
61
Learn more about scoring.

We analyzed this package on Jul 9, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14

Analysis suggestions

Package not compatible with runtime flutter-web on web

Because:

  • package:argon2_ffi_base/argon2_ffi_base.dart that imports:
  • package:ffi_helper/ffi_helper.dart that imports:
  • package:ffi_helper/src/memory_array.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/allocation.dart that imports:
  • dart:io

Package not compatible with runtime js

Because:

  • package:argon2_ffi_base/argon2_ffi_base.dart that imports:
  • package:ffi_helper/ffi_helper.dart that imports:
  • package:ffi_helper/src/memory_array.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/allocation.dart that imports:
  • dart:io

Health issues and suggestions

Document public APIs. (-1 points)

27 out of 27 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/authpass/argon2_ffi_base was unreachable.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and argon2_ffi_base.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
ffi ^0.1.3 0.1.3
ffi_helper ^1.4.0 1.4.0
Transitive dependencies
async 2.4.2
collection 1.14.13 1.15.0-nnbd
meta 1.2.1
Dev dependencies
pedantic ^1.9.0