Semantics({Key key, Widget child, bool container: false, bool checked, String label })

Creates a semantic annotation.

The container argument must not be null.

Source

Semantics({
  Key key,
  Widget child,
  this.container: false,
  this.checked,
  this.label
}) : super(key: key, child: child) {
  assert(container != null);
}