device_accessibility_info 1.0.0
device_accessibility_info: ^1.0.0 copied to clipboard
A Flutter plugin that provides information about device accessibility features, particularly screen reader status detection and real-time change notifications.
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.
1.0.0 - 2024-12-19 #
🎉 First Stable Release #
Created by Yasin Arik
Added #
- Screen Reader Detection: Check if VoiceOver (iOS) or TalkBack (Android) is currently enabled
- Real-time Change Notifications: Listen for screen reader status changes using event channels
- iOS Support:
- Uses
UIAccessibility.isVoiceOverRunningfor status detection - Listens to
UIAccessibility.voiceOverStatusDidChangeNotificationfor changes
- Uses
- Android Support:
- Uses
AccessibilityManagerand system settings for TalkBack detection - Monitors accessibility changes via
AccessibilityStateChangeListenerandContentObserver
- Uses
- Comprehensive API:
isScreenReaderEnabled()method for one-time status checksscreenReaderStatusChangedstream for real-time updatesgetPlatformVersion()method for platform information
- Example App: Complete example demonstrating all features with modern UI
- Unit Tests: Comprehensive test coverage for all functionality
- Documentation: Full API documentation and usage examples
Platform Support #
- iOS 9.0+ (VoiceOver detection)
- Android API 16+ (TalkBack detection)
Technical Details #
- Uses method channels for one-time requests
- Uses event channels for streaming real-time changes
- No additional permissions required on either platform
- Proper resource cleanup and memory management
- Tested on both iOS and Android devices
Publication Ready #
- Ready for pub.flutter-io.cn publication
- Complete documentation and examples
- Stable API design
- Comprehensive testing