ritika-11 / DeviceTemperaturePlugin

Flutter plugin to get device temperature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

device_temperature

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!

Usage

import 'package:devicetemperature/devicetemperature.dart';

double temperature = await Devicetemperature.DeviceTemperature;

Available Methods

  • getDeviceTemperature

Contributing

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.

License

MIT

About

Flutter plugin to get device temperature

License:MIT License


Languages

Language:Java 38.4%Language:Dart 34.9%Language:Objective-C 9.4%Language:Ruby 9.0%Language:Swift 8.3%