flutter_easy_nfc 0.0.1
flutter_easy_nfc: ^0.0.1 copied to clipboard

Flutter Android iOS

Nfc library for flutter.

70 / 110
pub points
46 %

We analyzed this package on Jan 26, 2021, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: 20% or more of the public API has dartdoc comments

  • 8 out of 47 API elements (17.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 6 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web


  • package:flutter_easy_nfc/flutter_easy_nfc.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Avoid using braces in interpolation when not needed.


16 │     return "NfcError: ${code} ";
   │                       ^^^^^^^

To reproduce make sure you are using pedantic and run flutter analyze lib/flutter_easy_nfc.dart

INFO: The value of the field '_observer' isn't used.


160 │   static AppLifecycleStateObserver _observer =
    │                                    ^^^^^^^^^

To reproduce make sure you are using pedantic and run flutter analyze lib/flutter_easy_nfc.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

Transitive dependencies

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs