Flutter plugin for reading NFC tags. Supports Android 6.0 and above.
To use this plugin, add nfc
as a dependency in your pubspec.yaml file.
Also, remember to add <uses-permission android:name="android.permission.NFC" />
to your Android package's manifest file.
import 'package:nfc/nfc.dart';
try {
String tagData = await Nfc.readTag;
} on PlatformException {
}
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.