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

discontinuedreplaced by: anpec
PlatformAndroid

A Flutter FFI plugin for Android device performance classification.

Changelog #

1.1.0 #

  • BREAKING: Changed getPerformanceClass() to return PerformanceClass enum 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 PerformanceClass enum 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
0
likes
150
points
6
downloads

Publisher

verified publisheraryak.dev

Weekly Downloads

A Flutter FFI plugin for Android device performance classification.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on performance_class

Packages that implement performance_class