Skip to content
pubscout

flutter_accessibility_service

1.2.0, released 5 months ago by iheb.tech

Flutter plugin to interact with Android Accessibility Service for events and actions.

$ flutter pub add flutter_accessibility_service
Source repository

What it does

Provides APIs to check and request accessibility permission, stream accessibility events, and perform actions or gestures via the Android accessibility service.

AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to monitor Android accessibility events (e.g., window changes, text changes)
  • You want to automate UI interactions on Android using accessibility actions or gestures

Skip it when

  • Your app targets iOS or other platforms
  • You need a cross‑platform solution without native Android setup

Strengths

  • Low‑level access to Android accessibility events
  • Supports gesture simulation and action execution
  • Event stream makes reactive handling easy

Weaknesses

  • Android‑only; no iOS support
  • Requires manual AndroidManifest and XML configuration
  • Documentation is limited

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

Add a <service> entry with BIND_ACCESSIBILITY_SERVICE permission to AndroidManifest and create res/xml/accessibilityservice.xml; request permission at runtime.

final bool status = await FlutterAccessibilityService.requestAccessibilityPermission();
FlutterAccessibilityService.accessStream.listen((event) {
  log('Current Event: $event');
});

Alternatives

Packages that do the same job and could replace flutter_accessibility_service.