1. 02 Apr, 2017 1 commit
  2. 21 Mar, 2017 1 commit
  3. 04 Mar, 2017 1 commit
  4. 18 Feb, 2017 1 commit
  5. 20 Jan, 2017 1 commit
  6. 18 Jan, 2017 1 commit
  7. 11 Jan, 2017 1 commit
  8. 25 Oct, 2016 1 commit
  9. 05 Oct, 2016 1 commit
  10. 03 Oct, 2016 1 commit
  11. 20 Sep, 2016 1 commit
  12. 12 Sep, 2016 1 commit
  13. 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
  14. 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
  15. 18 May, 2016 1 commit
  16. 12 May, 2016 2 commits
  17. 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
  18. 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
  19. 22 Apr, 2016 1 commit
  20. 15 Apr, 2016 1 commit
  21. 04 Apr, 2016 1 commit
  22. 18 Mar, 2016 2 commits
  23. 17 Mar, 2016 1 commit
  24. 14 Mar, 2016 1 commit
  25. 12 Mar, 2016 3 commits
  26. 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
  27. 01 Mar, 2016 1 commit
  28. 25 Feb, 2016 2 commits
  29. 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
  30. 11 Feb, 2016 1 commit
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  31. 31 Jan, 2016 1 commit
    • Adam Barth's avatar
      Adds the ability to move the caret by tapping · 36099383
      Adam Barth authored
      Now the text input control knows how to move the caret when you tap
      inside the string. There's still some rough edges to polish up, but this
      patch is the first step.
      
      Fixes #108
      36099383
  32. 30 Jan, 2016 1 commit
  33. 27 Jan, 2016 1 commit
  34. 18 Jan, 2016 1 commit