A Flutter plugin to access the proximity sensors.
To use this plugin, add proximity_plugin
as a dependency in your pubspec.yaml file.
import 'package:proximity_plugin/proximity_plugin.dart';
proximityEvents.listen((ProximityEvent event) {
// Do something with the event.
});
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.