thermal 1.1.0 copy "thermal: ^1.1.0" to clipboard
thermal: ^1.1.0 copied to clipboard

outdated

Flutter plugin for accessing the device's thermal state to detect if the device is undergoing thermal throttling.

thermal #

pub package

Usage #

To use this plugin, add thermal as a dependency in your pubspec.yaml file.

Example #

// Import package
import 'package:thermal/thermal.dart';

// Instantiate it
var _thermal = Thermal();

// Access current thermal status
print(await _thermal.thermalStatus);

// Be informed when the status changes
_thermal.onThermalStatusChanged.listen((ThermalStatus state) {
  // Do something with new status
});
12
likes
0
pub points
70%
popularity

Publisher

verified publishermuxable.com

Flutter plugin for accessing the device's thermal state to detect if the device is undergoing thermal throttling.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on thermal