1. 18 May, 2016 1 commit
  2. 12 May, 2016 2 commits
  3. 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
  4. 05 May, 2016 1 commit
  5. 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
  6. 22 Apr, 2016 1 commit
  7. 20 Apr, 2016 1 commit
  8. 15 Apr, 2016 1 commit
  9. 07 Apr, 2016 2 commits
  10. 04 Apr, 2016 1 commit
  11. 31 Mar, 2016 1 commit
  12. 30 Mar, 2016 2 commits
  13. 29 Mar, 2016 1 commit
  14. 25 Mar, 2016 2 commits
  15. 24 Mar, 2016 5 commits
  16. 21 Mar, 2016 1 commit
    • Ian Hickson's avatar
      Provide more documentation for MojoShell · bef6ff3b
      Ian Hickson authored
      As usual, as I was doing this I ran into some stuff that seemed hard
      to document as-is and so I changed it. In this case, in the "http"
      library. The new code is more or less equivalent, I think, but the
      resulting documentation makes it more obvious that it's wrong...
      bef6ff3b
  17. 18 Mar, 2016 3 commits
  18. 17 Mar, 2016 1 commit
  19. 16 Mar, 2016 1 commit
  20. 14 Mar, 2016 1 commit
  21. 12 Mar, 2016 4 commits
  22. 11 Mar, 2016 2 commits
    • Ian Hickson's avatar
      Enable ALL THE LINTS · 1b9cd520
      Ian Hickson authored
      Well, all the easy ones, anyway.
      
      For some reason `// ignore:` isn't working for me so I've disabled
      lints that need that. Also disabled those that require a ton of work
      (which I'm doing, but not in this PR, to keep it reviewable).
      
      This adds:
      - avoid_init_to_null
      - library_names
      - package_api_docs
      - package_names
      - package_prefixed_library_names
      - prefer_is_not_empty
      - sort_constructors_first
      - sort_unnamed_constructors_first
      - unnecessary_getters_setters
      1b9cd520
    • 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
  23. 09 Mar, 2016 1 commit
  24. 08 Mar, 2016 1 commit
  25. 07 Mar, 2016 1 commit
  26. 04 Mar, 2016 1 commit