system_status 1.0.2 system_status: ^1.0.2 copied to clipboard
The system_status Plugin is a powerful and user-friendly tool designed to provide real-time statistics on RAM, battery, storage, and CPU usage for MacOS computers.
system_status_plugin #
system_status_plugin is a Flutter plugin that provides system status monitoring capabilities for MacOS computers. It allows you to monitor and display real-time statistics of RAM, battery, storage, and CPU usage.
Features #
- Real-time monitoring of system resources: RAM, battery, storage, and CPU.
- User-friendly interface for easy integration and usage.
- Supports MacOS 10.13 and above.
- Low system resource usage, optimized for performance monitoring without overhead.
Installation #
To use this plugin, add system_status_plugin
as a dependency in your pubspec.yaml
file.
dependencies:
flutter:
sdk: flutter
system_status_plugin: ^1.0.0
Then, import the package where you need to use it:
import 'package:system_status_plugin/system_status_plugin.dart';
Usage #
// Initialize the plugin
SystemStatusPlugin systemStatus = SystemStatusPlugin();
// Get system status information
void getSystemStatus() async {
try {
SystemStatusInfo status = await systemStatus.getSystemStatus();
print('System Status: ${status}');
} catch (e) {
print('Error retrieving system status: $e');
}
}