ExcludeSemantics constructor Null safety

const ExcludeSemantics(
  1. {Key? key,
  2. bool excluding = true,
  3. Widget? child}
)

Creates a widget that drops all the semantics of its descendants.

Implementation

const ExcludeSemantics({
  super.key,
  this.excluding = true,
  super.child,
}) : assert(excluding != null);