• Adam Barth's avatar
    Improve the TextPainter API (#3621) · e41120bc
    Adam Barth authored
    Instead of using properties, TextPainter now receives min and max width as
    parameters to layout. Also, this patch integrates the intrinsic sizing logic
    into the main layout function, which satisfies all the existing uses cases.
    e41120bc
painting.dart 1.04 KB