• Jonah Williams's avatar
    Add Text.rich constructor to Text widget (#15317) · 7d1ceb40
    Jonah Williams authored
    * add fromSpan constructor to Text widget and simple smoke test:
    
    * change fromSpan to rich, clean up comments
    
    * 'directly from' to 'with'
    
    * make sure text styles are applied to either data or textspan. add diagnostic properties for span
    
    * add expectation for text style to test case
    
    * some work on diagnostics and docs
    7d1ceb40
text_test.dart 3.93 KB