Skip to Content
API ReferenceConfigurationAccessibilityConfig

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

PropertyTypeDescription
hintString?The accessibility hint for the element. (final)
isAccessiblebool?Whether the element is accessible to screen readers. (final)
labelString?The accessibility label for the element. (final)

Methods

copyWith

copyWith({bool? isAccessible, String? label, String? hint}) → AccessibilityConfig

Creates a copy of this configuration with the given fields replaced.

toJson

toJson() → Map<String, dynamic>
Last updated on