flutter_nfc_kit 3.5.2 copy "flutter_nfc_kit: ^3.5.2" to clipboard
flutter_nfc_kit: ^3.5.2 copied to clipboard

Provide NFC functionality on Android, iOS & Web, including reading metadata, read & write NDEF records, and transceive layer 3 & 4 data with NFC tags / cards

242
likes
140/ 160
pub points
19.7k
downloads

We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

75 out of 94 API elements (79.8 %) have documentation comments.

Some symbols that are missing documentation: flutter_nfc_kit, flutter_nfc_kit.FlutterNfcKit.FlutterNfcKit.new, flutter_nfc_kit.Iso15693RequestFlags.Iso15693RequestFlags.new, flutter_nfc_kit.MifareInfo.MifareInfo.fromJson, flutter_nfc_kit.MifareInfo.MifareInfo.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flutter_nfc_kit/flutter_nfc_kit.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_nfc_kit/flutter_nfc_kit.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/flutter_nfc_kit/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/flutter_nfc_kit_web.dart:6:1

  ╷
6 │ import 'dart:html' as html show window;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_nfc_kit_web.dart

INFO: 'dart:js_util' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/flutter_nfc_kit_web.dart:7:1

  ╷
7 │ import 'dart:js_util';
  │ ^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_nfc_kit_web.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
convert ^3.1.1 3.1.2 3.1.2
js ^0.7.1 0.7.2 0.7.2 Discontinued
json_annotation ^4.8.1 4.9.0 4.9.0
logging ^1.2.0 1.3.0 1.3.0
ndef ^0.3.3 0.3.4 0.3.4
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.5

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
242
likes
140
points
19.7k
downloads

Publisher

verified publishernfc.im

Weekly Downloads

Provide NFC functionality on Android, iOS & Web, including reading metadata, read & write NDEF records, and transceive layer 3 & 4 data with NFC tags / cards

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

convert, flutter, flutter_web_plugins, js, json_annotation, logging, ndef

More

Packages that depend on flutter_nfc_kit