• Ian Hickson's avatar
    Make LayoutCallback generic and other minor changes (#7367) · b0e8520a
    Ian Hickson authored
    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.
    b0e8520a
viewport.dart 15.1 KB