• Hixie's avatar
    Allow parents of RenderObjects that have layout callbacks to depend on those objects' sizes. · a6e6b93b
    Hixie authored
    Previously, if you used a layout callback, you could not have a parent
    that did parentUsesSize, or if you did, you had to be marked
    sizedByParent. With this patch, we allow the parent to depend on your
    layout, even if you modify your child list during your layout using a
    layout callback, by checking that the parent is still actively being
    laid out in this scenario.
    a6e6b93b
object.dart 36.9 KB