flutter_barometer

Last updated:

0 purchases

flutter_barometer Image
flutter_barometer Images
Add to Cart

Description:

flutter barometer

flutter_barometer #
A flutter plugin to access the barometer sensor.
Usage #
To use this plugin, add flutter_barometer as a dependency in your pubspec.yaml
file.
This will expose the class of sensor events.

FlutterBarometerEvents describe the pressure of the device.

Example #
import 'package:flutter_barometer/flutter_barometer.dart';

flutterBarometerEvents.listen((FlutterBarometerEvent event) {
print(event);
})
// [FlutterBarometerEvent (pressure: 1000.0)]

copied to clipboard
Also see the example subdirectory for an example application that uses the
sensor data.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.