1. 08 Jan, 2020 1 commit
  2. 26 Dec, 2019 1 commit
  3. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  4. 22 Nov, 2019 1 commit
    • Alexandre Ardhuin's avatar
      make some BuildContext methods generics (#44189) · fcb40a05
      Alexandre Ardhuin authored
      * make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic
      
      * make BuildContext.inheritFromWidgetOfExactType generic
      
      * make BuildContext.ancestorInheritedElementForWidgetOfExactType generic
      
      * make BuildContext.ancestorWidgetOfExactType generic
      
      * fix snippet
      
      * bump scoped_model on temp version
      
      * update names
      
      * Revert "bump scoped_model on temp version"
      
      This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0.
      
      * address review comments
      
      * fix ci
      
      * address review comments
      
      * repeat the deprecation notice
      
      * fix uppercase
      
      * use of recommanded deprecation syntax
      
      * address review comment
      fcb40a05
  5. 18 Oct, 2019 1 commit
  6. 02 Oct, 2019 1 commit
  7. 25 Jun, 2019 1 commit
  8. 14 May, 2019 1 commit
  9. 13 May, 2019 1 commit
  10. 10 May, 2019 1 commit
  11. 29 Apr, 2019 1 commit
  12. 24 Apr, 2019 1 commit
  13. 01 Mar, 2019 2 commits
  14. 08 Nov, 2018 1 commit
  15. 12 Sep, 2018 1 commit
  16. 07 Sep, 2018 1 commit
  17. 05 Jun, 2018 1 commit
  18. 03 May, 2018 1 commit
  19. 11 Mar, 2018 1 commit
  20. 21 Dec, 2017 1 commit
  21. 18 Aug, 2017 1 commit
  22. 13 Jun, 2017 1 commit
  23. 12 Jun, 2017 1 commit
  24. 03 Jun, 2017 1 commit
  25. 12 May, 2017 1 commit
  26. 10 May, 2017 1 commit
  27. 21 Apr, 2017 1 commit
  28. 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
  29. 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
  30. 05 Apr, 2017 1 commit
  31. 13 Mar, 2017 1 commit
  32. 10 Mar, 2017 1 commit
  33. 04 Mar, 2017 1 commit
  34. 18 Feb, 2017 1 commit
  35. 07 Feb, 2017 1 commit
  36. 31 Jan, 2017 1 commit
  37. 23 Jan, 2017 1 commit
  38. 09 Jan, 2017 1 commit