enviro_sensors 0.0.1 copy "enviro_sensors: ^0.0.1" to clipboard
enviro_sensors: ^0.0.1 copied to clipboard

outdated

Flutter plugin for accessing enviroment sensors, however, only pressure sensor is implemented for android at the moment.

enviro_sensors #

A plugin that in the future will facilitate calling the enviroment sensors on both android and iOS.

Currently, only android pressure sensor stream is implemented.

Getting Started #

Install the package, import it and call the "barometerEvents" getter to instantiate a stream of pressure events, see example/lib/main.dart for more.

TODO: #

  • improve the interface for barometerEvents stream, add way to change SENSOR_DELAY if the device enables it.
  • add barometerEvents stream on iOS.
  • implement same API for temperature, light and humidity sensors.
  • write docs and improve "example".
8
likes
30
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

Flutter plugin for accessing enviroment sensors, however, only pressure sensor is implemented for android at the moment.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on enviro_sensors