RenderExcludeSemantics constructor Null safety

RenderExcludeSemantics(
  1. {RenderBox? child,
  2. bool excluding = true}
)

Creates a render object that ignores the semantics of its subtree.

Implementation

RenderExcludeSemantics({
  RenderBox? child,
  bool excluding = true,
}) : _excluding = excluding,
     super(child) {
  assert(_excluding != null);
}