semanticsEnabled property
Whether the user has requested that updateSemantics be called when the semantic contents of a view changes.
The onSemanticsEnabledChanged callback is called whenever this value changes.
Implementation
@override
bool get semanticsEnabled => _semanticsEnabled ?? parent.semanticsEnabled;
set
semanticsEnabled
(bool semanticsEnabled)
Implementation
set semanticsEnabled(bool semanticsEnabled) {
_semanticsEnabled = semanticsEnabled;
onSemanticsEnabledChanged?.call();
}