Skip to content
pubscout

nfc_manager_ndef

1.1.0, released a year ago by okadan.net

An NDEF abstraction package built on top of nfc_manager.

WASM-ready
$ flutter pub add nfc_manager_ndef
Source repository

What it does

It provides an NDEF abstraction layer for Flutter apps utilizing the nfc_manager package. It allows developers to check compatibility and interact with NDEF-compliant NFC tags.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are already using nfc_manager and need NDEF message abstraction.
  • You want to read or interact with NDEF-compatible NFC tags in a Flutter app.

Skip it when

  • You do not need NFC functionality in your application.
  • You require advanced non-NDEF NFC tag operations not supported by this abstraction.

Strengths

  • Simple abstraction specifically tailored for NDEF operations.
  • Built directly on top of the established nfc_manager plugin.

Weaknesses

  • Limited documentation and features described in the README.
  • Depends entirely on the setup and platform support of nfc_manager.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Requires following the native setup instructions of the underlying nfc_manager plugin.

import 'package:nfc_manager_ndef/nfc_manager_ndef.dart';

final Ndef ndef = Ndef.from(tag);

if (ndef == null) {
  print('This tag is not compatible with NDEF.');
  return;
}

print(ndef);

Alternatives

Packages that do the same job and could replace nfc_manager_ndef.

  • flutter_nfc_kit

    NFC functionality plugin for Android, iOS and Web, supporting NDEF records and APDU transceive.

Works with

Packages commonly used together with nfc_manager_ndef: ones it builds on, ones built on it, and its own family.