AccessibilityConfig
Configuration for accessibility settings of map UI elements.
This class allows customization of accessibility behavior for map controls on both iOS (VoiceOver) and Android (TalkBack). All properties are optional to maintain backward compatibility - if not set, default values from the native SDKs are used.
Constructors
AccessibilityConfig.new
AccessibilityConfig.new({bool? isAccessible, String? label, String? hint})Creates an accessibility configuration. const
Properties
| Property | Type | Description |
|---|---|---|
hint | String? | The accessibility hint for the element. (final) |
isAccessible | bool? | Whether the element is accessible to screen readers. (final) |
label | String? | The accessibility label for the element. (final) |
Methods
copyWith
copyWith({bool? isAccessible, String? label, String? hint}) → AccessibilityConfigCreates a copy of this configuration with the given fields replaced.
toJson
toJson() → Map<String, dynamic>Last updated on