size property

Size size
inherited

Changing the size will affect the size of the rendering of the node.

myNode.size = Size(1024.0, 1024.0);

Implementation

Size size;
  1. @override
void size=(Size size)
override

Changing the size will affect the size of the rendering of the node.

myNode.size = Size(1024.0, 1024.0);

Implementation

@override
set size(Size size) {
  super.size = size;
  _isDirty = true;
}