Make LayoutCallback generic and other minor changes (#7367)
LayoutCallback passes constraints to the callback, but the constraints object has a different type for different subclasses. This lets you call invokeLayoutCallback() with a specific type to verify that everything is working as expected. Other changes: Slightly improve the error reporting in RenderObject. Allow toStringShallow on RenderObject to have its separator configured.
Showing
Please register or sign in to comment