• Adam Barth's avatar
    Add RotatedBox which applies a rotation before layout · e59b25b2
    Adam Barth authored
    Transform applies its transform before painting, but sometimes you want
    the widget to layout after its transform has been applied. We can't
    handle general tranforms in this way because we can't couple width and
    height constriants, but we can handle certain rotations.
    
    Fixes #1214
    e59b25b2
rendering.dart 1.27 KB