You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor RenderObject/PaintingContext to allow for more asserts/restrictions around errors/inefficiencies #103951
P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team
Today, [RenderObject] is a relatively challenging protocol to implement, and it is relatively easy to make multiple mistakes that cannot be statically or dynamcially detected by the framework.
For example, there's currently no good way to validate the implementation of describeApproximatePaintClip to make sure that it does not provide a clip for a child that is painted with clipBehavior = Clip.none. Another example is that there is no way to make sure it disposes of its layers if it doesn't use the layer property, and that in some cases it is expected to not touch the layer (which is used by the framework to make it a repaint boundary). Yet another example are methods like the newly added paintsChild compared to applyPaintTransform.
RenderObjects rarely seem to use all of the complexity available to them, and many of the ones that do more work in paint could (and perhaps should) be refactored into smaller, simpler objects.
P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team
Activity