flutter_device_info_plus 0.0.2
flutter_device_info_plus: ^0.0.2 copied to clipboard
Enhanced device information with detailed hardware specs and capabilities. Get comprehensive device data including CPU, memory, storage, sensors, and system information.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.2 - 2024-01-02 #
Fixed #
- Platform Compatibility: Resolved cross-platform compatibility issues
- Removed problematic dependencies (
platform
,package_info_plus
) that caused Web and platform-specific import conflicts - Replaced with Flutter's built-in platform detection using
defaultTargetPlatform
andkIsWeb
- Fixed dart:io import issues that broke Web compatibility
- Removed problematic dependencies (
- Repository Configuration: Fixed repository URL consistency across all package files
- Package Validation: Reduced topics to comply with pub.flutter-io.cn limit (maximum 5 topics)
Improved #
- Cross-Platform Support: Enhanced platform detection logic for better reliability
- Web Compatibility: Full Web platform support without import conflicts
- Dependency Management: Simplified dependency tree by removing unnecessary packages
- Code Quality: Maintained perfect 160/160 Pana score with all platforms supported
Technical Details #
- Platform detection now uses Flutter's foundation library instead of external platform package
- Removed Windows-specific dependencies that were affecting other platforms
- Improved battery info handling for different platform types
- Better error handling and fallback mechanisms
0.0.1 - 2024-01-01 #
Added #
- Initial release of flutter_device_info_plus
- Enhanced device information retrieval with detailed hardware specifications
- Comprehensive platform support (Android, iOS, Web, Windows, macOS, Linux)
- Device hardware information including:
- CPU details (architecture, cores, frequency)
- Memory information (RAM, storage)
- Display specifications (resolution, density, refresh rate)
- Battery status and health information
- Sensor availability and capabilities
- Network interface details
- Operating system version and build information
- Device manufacturer and model details
- Cross-platform API with consistent interface
- Null safety support
- Comprehensive documentation and examples
- Unit tests with high coverage
- Flutter 3.10+ support with Dart 3.0+
Features #
- Hardware Specifications: Detailed CPU, memory, and storage information
- Display Information: Screen dimensions, pixel density, refresh rate
- Battery Details: Level, health, charging status, and capacity
- Sensor Detection: Available sensors and their capabilities
- Network Information: Connection type, speed, and interface details
- System Information: OS version, kernel, device identifiers
- Performance Metrics: Memory usage, CPU utilization
- Security Features: Device security status and capabilities
Platform Support #
- ✅ Android (API 21+)
- ✅ iOS (iOS 12.0+)
- ✅ Web (Progressive Web App compatible)
- ✅ Windows (Windows 10+)
- ✅ macOS (macOS 10.14+)
- ✅ Linux (Ubuntu 18.04+)