• Adam Barth's avatar
    Improve TextSpan · fb4dbf45
    Adam Barth authored
    Now we just have one TextSpan class that handles both simple strings, trees of
    children, and styling both. This approach simplifies the interface for most
    clients.
    
    This patch also removes StyledText, which was weakly typed and tricky to use
    correctly. The replacement is RichText, which is strongly typed and uses
    TextSpan.
    fb4dbf45
hello_world.dart 831 Bytes