windows_system_info
0.0.4, released 4 years ago by an unverified publisher
Provides detailed Windows system information via Dart.
What it does
The package exposes getters for user name, CPU, memory, disks, graphics, network, and other hardware details. It requires explicit initialization and can load only requested data to save time.
AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display or log detailed Windows hardware info in a Flutter desktop app
- You want to query system properties without writing native code
Skip it when
- You target macOS, Linux, or mobile platforms
- You need cross‑platform system information
Strengths
- Simple API with named getters
- Selective initialization to reduce overhead
- No external code generation required
Weaknesses
- Windows‑only, no support for other OSes
- Documentation is minimal and README is truncated
- No example of error handling or async patterns
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add dependency, import package, call WindowsSystemInfo.initWindowsInfo(), then access getters.
import 'package:windows_system_info/windows_system_info.dart';
Future<void> init() async {
await WindowsSystemInfo.initWindowsInfo();
if (await WindowsSystemInfo.isInitilized) {
print(WindowsSystemInfo.cpu);
}
}Alternatives
Packages that do the same job and could replace windows_system_info.
Works with
Packages commonly used together with windows_system_info: ones it builds on, ones built on it, and its own family.