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({
  Key? key,
  this.excluding = true,
  Widget? child,
}) : assert(excluding != null),
     super(key: key, child: child);