# thermal **Repository Path**: wei-echo/thermal ## Basic Information - **Project Name**: thermal - **Description**: thermal - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-25 - **Last Updated**: 2025-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # thermal [![pub package](https://img.shields.io/pub/v/thermal.svg)](https://pub.dev/packages/thermal) ## Usage To use this plugin, add `thermal` as a [dependency in your pubspec.yaml file](https://docs.flutter.dev/packages-and-plugins/using-packages). ### Example ```dart // 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 }); // Watch the battery temperature _thermal.onBatteryTemperatureChanged.listen((double temperature) { // Do something wth the temperature }); ```