• Hixie's avatar
    Rationalise the overflow render boxes · 34cc0c47
    Hixie authored
    New RenderAligningShiftedBox abstract class for render boxes with
    "alignment", which as of now is:
    
     - RenderPositionedBox
     - RenderConstrainedOverflowBox (ex RenderOverflowBox)
     - RenderSizedOverflowBox
     - RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox)
    
    (The respective widgets are Align, OverflowBox, SizedOverflowBox, and
    FractionallySizedBox. They haven't been renamed.)
    
    Also I added some toString details.
    34cc0c47
overflow.dart 1.35 KB