1. 04 Mar, 2017 1 commit
  2. 21 Feb, 2017 1 commit
  3. 05 Jan, 2017 1 commit
  4. 26 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Turn off AnimationControllers when not in use (#5902) · 9e673853
      Ian Hickson authored
      This requires all AnimationController objects to be given a
      TickerProvider, a class that can create the Ticker.
      
      It also provides some nice mixins for people who want to have their
      State provide a TickerProvider. And a schedulerTickerProvider for those
      cases where you just want to see your battery burn.
      
      Also, we now enforce destruction order for elements.
      9e673853
  5. 15 Sep, 2016 1 commit
  6. 08 Jun, 2016 1 commit
  7. 31 May, 2016 1 commit
  8. 12 May, 2016 1 commit
  9. 28 Apr, 2016 1 commit
  10. 12 Apr, 2016 1 commit
  11. 11 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Add even more careful checks around BoxConstraints (#3243) · 47f5c6f2
      Ian Hickson authored
      I ran into a case where I was setting minHeight=∞ and then calling
      layout() with that constraint, which is all kinds of bad. To try to
      catch this earlier, this patch now provides a way to catch constraints
      that are requiring infinite values.
      
      We don't _always_ check this because there are valid uses for
      BoxConstraints.biggest, e.g. as an additionalConstraint.
      47f5c6f2
  12. 29 Mar, 2016 1 commit
  13. 21 Mar, 2016 1 commit
    • Ian Hickson's avatar
      Refactor cassowary so it uses imports rather than parts. · 552896af
      Ian Hickson authored
      Also misc cleanup:
       - reorder members to be more consistent and fit the style guide
       - remove use of _Pair
       - made Variable.applyUpdate and Variable.owner public
       - added docs to Priority, tweaked the code a bit
       - added some docs to Result
       - removed the internal-error Result (replaced with asserts)
       - removed unused Results
       - made Result const
       - merged some files together since they had used privates a lot
      
      I'm sorry this is completely unreviewable. I did the move from `lib/*`
      to `lib/src/*` first, then did the `part`-to-`import` change, and then
      found out how many of the files involved privates, which I wasn't
      expecting. I can redo this as multiple commits if that would make it
      easier to review.
      552896af
  14. 14 Mar, 2016 1 commit
  15. 13 Mar, 2016 1 commit
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
  16. 12 Mar, 2016 1 commit
  17. 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
  18. 16 Feb, 2016 1 commit
  19. 15 Feb, 2016 2 commits
    • Adam Barth's avatar
      Simplify the AutoLayout API · c7d71d8a
      Adam Barth authored
      This patch makes it easier to use the auto layout API:
      
      * We no longer use operator== because that requires an ugly cast by the
        API user.
      * Also, "leftEdge" is now just "left" for less verbosity.
      * AutoLayoutChild not implies its key from the AutoLayoutParam object.
      * We now correctly layout every child of a RenderAutoLayout object even
        if the solver doesn't flush any updates to that child.
      c7d71d8a
    • Adam Barth's avatar
      Add support for autolayout to widgets · 262dd7a6
      Adam Barth authored
      This patch teaches the widget framework how to use Cassowary-based
      autolayout. To integrate autolayout with widgets, I had to refactor how
      RenderAutoLayout worked a bit. Now RenderAutoLayout follows the same
      delegate pattern we use for custom paint and custom layout.
      262dd7a6
  20. 14 Feb, 2016 2 commits
  21. 13 Feb, 2016 1 commit
    • Adam Barth's avatar
      Clean up the standalone examples · 948ae15c
      Adam Barth authored
      Our examples have been growing organically over time. This patch cleans
      them up to illustrate specific aspects of Flutter.
      948ae15c