CustomPainterSemantics constructor

const CustomPainterSemantics({Key key, @required Rect rect, @required SemanticsProperties properties, Matrix4 transform, Set<SemanticsTag> tags })

Creates semantics information describing a rectangle on a canvas.

Arguments rect and properties must not be null.

Implementation

const CustomPainterSemantics({
  this.key,
  @required this.rect,
  @required this.properties,
  this.transform,
  this.tags,
}) : assert(rect != null),
     assert(properties != null);