parentData

if

parentData

size

!=

size

parentData

size

size

final

RenderFrogJar

targetParent

renderObject

parent

targetParent

markNeedsLayout

();

class

FrogJarParentData

extends

ParentData

Size

size

class

FrogJar

extends

RenderObjectWidget

// ...

Code after migration:

class

FrogSize

extends

ParentDataWidget

FrogJarParentData