RenderObjectData constructor

RenderObjectData({
  1. required String type,
  2. required Rect paintBounds,
})

Creates the data for a RenderObject.

Does not populate children. Use capture to create a fully populated RenderObjectData from a RenderObject.

Implementation

RenderObjectData({
  required this.type,
  required this.paintBounds,
});