1. 07 Dec, 2022 1 commit
  2. 07 Jul, 2022 1 commit
  3. 27 Apr, 2022 2 commits
  4. 12 Apr, 2022 1 commit
  5. 08 Apr, 2022 1 commit
  6. 08 Oct, 2021 3 commits
  7. 07 Oct, 2021 1 commit
  8. 28 Sep, 2021 1 commit
    • Greg Spencer's avatar
      Add smoke tests for all the examples, fix 17 broken examples. (#89021) · ab2b0851
      Greg Spencer authored
      This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
      
      The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
      
      The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
      ab2b0851
  9. 13 May, 2021 1 commit
  10. 28 Apr, 2021 1 commit
  11. 21 Apr, 2021 1 commit
  12. 07 Apr, 2021 1 commit
  13. 27 Jan, 2021 1 commit
  14. 15 Oct, 2020 1 commit
  15. 31 Aug, 2020 1 commit
    • Chris Bracken's avatar
      Prefer moreOrLessEquals over closeTo (#64915) · c0ea00ed
      Chris Bracken authored
      Flutter's `moreOrLessEquals` has a few advantages over `closeTo` from
      the `matcher` package:
      
         * It emits the epsilon value in the test result on failure.
         * It uses a named parameter for epsilon, which improves readability
           at the call site.
         * It has a reasonable default for epsilon in cases where something
           more specific isn't required.
      
      Using it also has the nice property that it aids in its own discovery
      when when people go looking for such functionality in new tests.
      
      This change also includes a couple unrelated whitespace formatting cleanups.
      c0ea00ed
  16. 11 Jun, 2020 1 commit
  17. 10 Mar, 2020 1 commit
  18. 03 Mar, 2020 1 commit
  19. 11 Feb, 2020 1 commit
  20. 27 Jan, 2020 1 commit
  21. 17 Jan, 2020 1 commit
  22. 16 Jan, 2020 1 commit
  23. 07 Jan, 2020 1 commit
  24. 16 Dec, 2019 1 commit
  25. 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
  26. 07 Mar, 2019 1 commit
  27. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  28. 03 Oct, 2018 2 commits
  29. 12 Sep, 2018 1 commit
  30. 02 Aug, 2018 1 commit
  31. 27 Jul, 2018 1 commit
  32. 23 Jul, 2018 1 commit
  33. 16 Jul, 2018 2 commits
  34. 20 Jun, 2018 1 commit
  35. 19 Jun, 2018 1 commit