• Adam Barth's avatar
    Add Alignment, which will replace FractionalOffset (#12342) · 2b126bcd
    Adam Barth authored
    Unlike FractionalOffset, Alignment uses the center as the zero of the
    coordinate system, which makes the RTL math work out much cleaner.
    
    Also, make FractionalOffset into a subclass of Alignment so that clients
    can continue to use FractionalOffset.
    2b126bcd
container_test.dart 23.4 KB