devicetemperature: ^0.0.1 copied to clipboard
Flutter plugin to get the temperature of the device
device_temperature is a flutter plugin that can provide you the current temperature of an android device.
- Note: This plugin can work only in Android as of now!
- Add devicetemperature as a dependency in your pubspec.yaml file.
import 'package:devicetemperature/devicetemperature.dart'; double temperature = await Devicetemperature.DeviceTemperature;
Available Methods #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update the tests as appropriate.