RenderSemanticsAnnotations({RenderBox child, bool container: false, bool checked, String label })

Creates a render object that attaches a semantic annotation.

The container argument must not be null.

Source

RenderSemanticsAnnotations({
  RenderBox child,
  bool container: false,
  bool checked,
  String label
}) : _container = container,
     _checked = checked,
     _label = label,
     super(child) {
  assert(container != null);
}