semanticsEnabled property Null safety

  1. @override
bool semanticsEnabled
override

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 => _semanticsEnabledTestValue ?? _platformDispatcher.semanticsEnabled;