1. 25 Apr, 2017 1 commit
  2. 23 Apr, 2017 1 commit
  3. 15 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Support chaining await calls on controllers (#9389) · 14e728d0
      Ian Hickson authored
      With this patch, you can do:
      
      ```dart
         Future<Null> foo() async {
           try {
             await controller.forward().orCancel;
             await controller.reverse().orCancel;
             await controller.forward().orCancel;
           } on TickerCanceled {
             // did not complete
           }
         }
      ```
      
      ...in a State's async method, and so long as you dispose of the
      controller properly in your dispose, you'll have a nice way of doing
      animations in sequence without leaking the controller. try/finally
      works as well, if you need to allocate resources and discard them when
      canceled.
      
      Simultaneously, you can do:
      
      ```dart
         Future<Null> foo() async {
           await controller.forward().orCancel;
           await controller.reverse().orCancel;
           await controller.forward().orCancel;
         }
      ```
      
      ...and have the same effect, where the method will just silently hang
      (and get GC'ed) if the widget is disposed, without leaking anything,
      if you don't need to catch the controller being killed.
      
      And all this, without spurious errors for uncaught exceptions on
      controllers.
      14e728d0
  4. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  5. 31 Mar, 2017 1 commit
  6. 14 Mar, 2017 1 commit
  7. 04 Mar, 2017 1 commit
  8. 01 Mar, 2017 1 commit
  9. 23 Feb, 2017 1 commit
  10. 17 Feb, 2017 1 commit
    • Adam Barth's avatar
      Two becomes one (#8253) · e0b12ca1
      Adam Barth authored
      Rename all the "2" classes related to scrolling to remove the "2". Now that the
      old scrolling code is gone, we don't need to use the suffix.
      e0b12ca1
  11. 16 Feb, 2017 1 commit
    • Ian Hickson's avatar
      Port RefreshIndicator to slivers (#8218) · 659bc226
      Ian Hickson authored
      This does not attempt to correct any logic, only to port it as written.
      
      The API changed a bit to take into account what is newly available and
      no longer available in the new world.
      659bc226
  12. 14 Feb, 2017 2 commits
  13. 01 Dec, 2016 1 commit
  14. 03 Nov, 2016 1 commit
  15. 23 Oct, 2016 1 commit
  16. 28 Sep, 2016 1 commit
  17. 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
  18. 16 Sep, 2016 1 commit
  19. 14 Sep, 2016 1 commit
    • Hans Muller's avatar
      Refresh indicator overscroll (#5836) · f4904b14
      Hans Muller authored
      * Added OverscrollIndicatorEdge et al
      
      * RefreshIndicator only clamps its scrollable edge
      
      * added a test
      
      * Updated the test
      
      * fixed lint-os
      
      * fixed a typo
      
      * Scrollable should restore its viewport dimensions when it reappears
      
      * removed an accidental commit
      
      * updated per review feedback
      f4904b14
  20. 26 Aug, 2016 1 commit
  21. 29 Jul, 2016 1 commit
  22. 28 Jul, 2016 1 commit
  23. 15 Jul, 2016 1 commit
  24. 11 Jul, 2016 1 commit
  25. 07 Jul, 2016 1 commit
  26. 30 Jun, 2016 2 commits
  27. 04 May, 2016 1 commit
    • Adam Barth's avatar
      Add missing dartdocs from material.dart (#3709) · 7712e583
      Adam Barth authored
      Making progress towards document all public APIs in material.dart. We're still
      missing a few odds and ends (as well as missing docs in tabs.dart,
      tooltip.dart, and two_level_list.dart).
      7712e583
  28. 03 May, 2016 1 commit
  29. 16 Apr, 2016 1 commit