performance_class 1.1.0
performance_class: ^1.1.0 copied to clipboard
A Flutter FFI plugin for Android device performance classification.
Changelog #
1.1.0 #
- BREAKING: Changed
getPerformanceClass()to returnPerformanceClassenum directly instead of raw integer values - IMPROVEMENT: Enhanced developer experience with type-safe enum-based API
- IMPROVEMENT: Added direct enum comparison support for better UI integration
- IMPROVEMENT: Exported
PerformanceClassenum from main library for easy access - IMPROVEMENT: Updated
getDetailedDeviceInfo()to use enum values for cleaner boolean checks - DOCS: Updated README with new enum-based usage examples and switch statement patterns
- DOCS: Added comprehensive examples for UI integration with performance classes
1.0.0 #
- Initial release of the Android device performance classification plugin
- Android-only support: Plugin is specifically designed for Android devices
- Performance classification algorithm based on hardware and software factors:
- CPU cores and frequency analysis
- Memory capacity detection
- Android version detection
- Media performance class support (Android 12+)
- Four performance categories: Unknown, Low, Average, High
- Caching mechanism for improved performance
- Comprehensive device information gathering
- Cross-platform FFI implementation with Android-specific optimizations