1. 13 Jun, 2017 1 commit
  2. 09 Jun, 2017 1 commit
  3. 05 Jun, 2017 1 commit
  4. 15 May, 2017 1 commit
  5. 05 May, 2017 1 commit
  6. 02 Apr, 2017 1 commit
  7. 21 Mar, 2017 1 commit
  8. 04 Mar, 2017 1 commit
  9. 18 Feb, 2017 1 commit
  10. 20 Jan, 2017 1 commit
  11. 18 Jan, 2017 1 commit
  12. 11 Jan, 2017 1 commit
  13. 25 Oct, 2016 1 commit
  14. 05 Oct, 2016 1 commit
  15. 03 Oct, 2016 1 commit
  16. 20 Sep, 2016 1 commit
  17. 12 Sep, 2016 1 commit
  18. 14 Jun, 2016 2 commits
    • pq's avatar
      Added asserts. · f5a4e632
      pq authored
      f5a4e632
    • pq's avatar
      Add missing returns. · 7a955487
      pq authored
      As of `1.18.0-dev-0`, these cases will get flagged.  In the meantime, the
      7a955487
  19. 06 Jun, 2016 1 commit
    • Adam Barth's avatar
      Tab labels incorrectly fade out (#4391) · b96d1dfc
      Adam Barth authored
      Assigning to `size` called our intrinsic sizing functions re-entrantly, which
      is a destructive operation on TextPainter. Ideally we'd made that a
      non-destructive operation, but in the meantime we can fix the tab fading issue
      by grabbing the text size before assigning to `size`.
      
      Fixes #4365
      b96d1dfc
  20. 18 May, 2016 1 commit
  21. 12 May, 2016 2 commits
  22. 07 May, 2016 1 commit
    • Adam Barth's avatar
      Move TextAlign out of TextStyle (#3789) · ee903af0
      Adam Barth authored
      TextAlign applies to a whole paragraph instead of applying to an individual
      text span. This patch moves the property out of TextStyle and into a separate
      property on Text and RichText.
      ee903af0
  23. 29 Apr, 2016 1 commit
    • 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
  24. 22 Apr, 2016 1 commit
  25. 15 Apr, 2016 1 commit
  26. 04 Apr, 2016 1 commit
  27. 18 Mar, 2016 2 commits
  28. 17 Mar, 2016 1 commit
  29. 14 Mar, 2016 1 commit
  30. 12 Mar, 2016 3 commits
  31. 11 Mar, 2016 1 commit
    • Ian Hickson's avatar
      Fix crash when dumping the app if it uses RichText · 7cf2dbdf
      Ian Hickson authored
      Specifically:
      
      * Handle null styles in TextSpan without crashing in toString().
      
      * Handle null children in TextSpan child lists without crashing in
        toString().
      
      * Handle entirely empty TextSpans in toString() explicitly.
      
      * Assert that TextSpans don't contain nulls in various places. This is
        done more often than one might think necessary, because it turns out
        that TextSpan takes a (mutable) List for one of its arguments, so
        who knows what it will contain at any given time. By asserting all
        over the place, hopefully we'll catch it near the change if they do
        change it.
      
      * Add a RichText example to Stocks to exercise RichText and TextSpans.
      
      See also: https://github.com/flutter/flutter/issues/2514, https://github.com/flutter/flutter/issues/2519
      7cf2dbdf
  32. 01 Mar, 2016 1 commit
  33. 25 Feb, 2016 2 commits
  34. 24 Feb, 2016 1 commit
    • 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