Beacon distance
Beacon Distance is a simple yet powerful application designed to measure and monitor distances using beacon technology.
Installation
- Add the latest version of package to your pubspec.yaml (and run
dart pub get):
dependencies:
beacon_distance: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:beacon_distance/beacon_util.dart';
Example
double distance = BeaconUtil.instance.calculateDistance(txPower, rssi);