MethodChannelDeviceAccessibilityInfo class
An implementation of DeviceAccessibilityInfoPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DeviceAccessibilityInfoPlatform
- MethodChannelDeviceAccessibilityInfo
Constructors
Properties
- eventChannel → EventChannel
-
The event channel used to listen for screen reader status changes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screenReaderStatusChanged
→ Stream<
bool> -
Returns a stream that notifies when the screen reader status changes.
The stream emits
true
when screen reader is enabled,false
when disabled.no setteroverride
Methods
-
getPlatformVersion(
) → Future< String?> -
override
-
isScreenReaderEnabled(
) → Future< bool> -
Returns whether the screen reader (VoiceOver on iOS, TalkBack on Android) is currently enabled.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited