setSemanticsActions method Null safety
- Set<
SemanticsAction> actions
@protected, override
Set the SemanticsActions that should be expose to the semantics tree.
Implementation
@override
@protected
void setSemanticsActions(Set<SemanticsAction> actions) {
if (_gestureDetectorKey.currentState != null)
_gestureDetectorKey.currentState!.replaceSemanticsActions(actions);
}