focusIncludesSemantics property

  1. @protected
bool get focusIncludesSemantics

Whether wrapWithFocus's Focus should add its own Semantics node.

Subclasses whose wrapWithSemantics uses a sliver-typed semantics node override this to false, since the box-typed semantics node added by Focus would otherwise crash on a sliver child.

See also:

Implementation

@protected
bool get focusIncludesSemantics => true;