semanticsTextDelegate property

  1. @override
AssetPickerTextDelegate get semanticsTextDelegate
override

Fallback delegate for semantics determined by platform.

The purpose of this field is to provide a fallback delegate references when a language does not supported by Talkback or VoiceOver. Set this to another text delegate makes screen readers read accordingly.

See also:

Implementation

@override
AssetPickerTextDelegate get semanticsTextDelegate {
  if (Platform.isAndroid) {
    return const EnglishAssetPickerTextDelegate();
  }
  return this;
}