data property

RenderData data

Implementation

RenderData get data {
  final size = this.size;
  final width = size.width;
  final height = size.height;
  final globalOffset = localToGlobal(Offset(width, height));
  final dy = globalOffset.dy;
  final dx = globalOffset.dx;

  return RenderData(
    yTop: dy - height,
    yBottom: dy,
    yCenter: dy - height / 2,
    xLeft: dx - width,
    xRight: dx,
    xCenter: dx - width / 2,
    width: width,
    height: height,
  );
}