• Greg Spencer's avatar
    Add an UnconstrainedBox and factor out debug overflow indicator. (#12856) · 3541ad0a
    Greg Spencer authored
    UnconstrainedBox will allow its child to size itself as if it had no constraints, and then attempt to fit around that object, until its own constraints are exceeded, in which case it will clip and display an overflow warning.
    
    I also factored out DebugOverflowIndicator, which will draw overflow indicators on containers which overflow but aren't expected to.
    3541ad0a
rendering.dart 2.75 KB