device_accessibility_info 1.0.0 copy "device_accessibility_info: ^1.0.0" to clipboard
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.isVoiceOverRunning for status detection
    • Listens to UIAccessibility.voiceOverStatusDidChangeNotification for changes
  • Android Support:
    • Uses AccessibilityManager and system settings for TalkBack detection
    • Monitors accessibility changes via AccessibilityStateChangeListener and ContentObserver
  • Comprehensive API:
    • isScreenReaderEnabled() method for one-time status checks
    • screenReaderStatusChanged stream for real-time updates
    • getPlatformVersion() 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
1
likes
160
points
28
downloads

Publisher

verified publisheryasinarik.com

Weekly Downloads

A Flutter plugin that provides information about device accessibility features, particularly screen reader status detection and real-time change notifications.

Repository (GitHub)
View/report issues

Topics

#accessibility #screen-reader #voiceover #talkback #a11y

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on device_accessibility_info

Packages that implement device_accessibility_info