The generic type of ParentDataWidget changed to ParentData

Summary

Context

Description of change

Migration guide

Timeline

References

Summary

The generic type of ParentDataWidget has changed from
RenderObjectWidget to ParentData.

Context

Description of change

Migration guide

You must migrate your code as described in this section
if you’re subclassing or implementing ParentDataWidget.
If you do, the analyzer shows the following warnings when you
upgrade to the Flutter version that includes this change:

Code before migration:

class

FrogSize

extends

ParentDataWidget

FrogJar

FrogSize

({

Key

key

@required

this