focusIncludesSemantics property
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:
- wrapWithFocus, whose Focus node this flag configures.
- Focus.includeSemantics, which receives this value.
Implementation
@protected
bool get focusIncludesSemantics => true;