CustomPainterSemantics constructor

const CustomPainterSemantics(
  1. {Key? key,
  2. required Rect rect,
  3. required SemanticsProperties properties,
  4. Matrix4? transform,
  5. Set<SemanticsTag>? tags}
)

Creates semantics information describing a rectangle on a canvas.

Implementation

const CustomPainterSemantics({
  this.key,
  required this.rect,
  required this.properties,
  this.transform,
  this.tags,
});