onAdapterStateChanged property

Stream<NfcAdapterState> get onAdapterStateChanged

Emits when the user switches NFC on or off in system settings.

Events start arriving once the plugin is attached to an activity. The stream does not replay the current state -- pair it with NfcUtil.checkAvailability for that.

Implementation

Stream<NfcAdapterState> get onAdapterStateChanged => NfcCallbacks.instance.adapterState.stream;