1. 25 Jun, 2019 1 commit
  2. 14 May, 2019 1 commit
  3. 13 May, 2019 1 commit
  4. 10 May, 2019 1 commit
  5. 29 Apr, 2019 1 commit
  6. 24 Apr, 2019 1 commit
  7. 01 Mar, 2019 2 commits
  8. 08 Nov, 2018 1 commit
  9. 12 Sep, 2018 1 commit
  10. 07 Sep, 2018 1 commit
  11. 05 Jun, 2018 1 commit
  12. 03 May, 2018 1 commit
  13. 11 Mar, 2018 1 commit
  14. 21 Dec, 2017 1 commit
  15. 18 Aug, 2017 1 commit
  16. 13 Jun, 2017 1 commit
  17. 12 Jun, 2017 1 commit
  18. 03 Jun, 2017 1 commit
  19. 12 May, 2017 1 commit
  20. 10 May, 2017 1 commit
  21. 21 Apr, 2017 1 commit
  22. 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
  23. 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
  24. 05 Apr, 2017 1 commit
  25. 13 Mar, 2017 1 commit
  26. 10 Mar, 2017 1 commit
  27. 04 Mar, 2017 1 commit
  28. 18 Feb, 2017 1 commit
  29. 07 Feb, 2017 1 commit
  30. 31 Jan, 2017 1 commit
  31. 23 Jan, 2017 1 commit
  32. 09 Jan, 2017 1 commit