1. 09 Feb, 2021 1 commit
  2. 03 Feb, 2021 1 commit
  3. 02 Feb, 2021 1 commit
    • Sam Rawlins's avatar
      Remove "unnecessary" imports. (#75198) · 11609d11
      Sam Rawlins authored
      In each library where an import is removed, the library uses some elements
      provided by the import, BUT there is another import which provides all of the
      same elements, and at least one more which the library uses.
      
      In this change, we remove the imports which can be simply removed in favor of
      the other already present imports.
      
      See https://github.com/dart-lang/sdk/issues/44569 for more information.
      11609d11
  4. 27 Jan, 2021 1 commit
  5. 12 Jan, 2021 1 commit
  6. 18 Nov, 2020 1 commit
  7. 16 Nov, 2020 1 commit
  8. 09 Nov, 2020 1 commit
  9. 30 Oct, 2020 1 commit
  10. 23 Oct, 2020 1 commit
  11. 14 Oct, 2020 1 commit
  12. 08 Oct, 2020 2 commits
  13. 06 Oct, 2020 2 commits
  14. 05 Oct, 2020 1 commit
  15. 03 Oct, 2020 2 commits
  16. 01 Oct, 2020 2 commits
    • Dan Field's avatar
      Revert dispose images when done (#67100) · 473358d9
      Dan Field authored
      * Revert "docs for image disposal (#67066)"
      
      This reverts commit bcb2ac5a.
      
      * Revert "Dispose of images after using them (#66688)"
      
      This reverts commit a7954691.
      473358d9
    • Dan Field's avatar
      Dispose of images after using them (#66688) · a7954691
      Dan Field authored
      * Dispose of images after using them
      Adds ImageInfo.clone, ImageInfo.dispose, and ImageInfo.isCloneOf.
      Makes all stateful holders of ui.Image objects properly clone and dispose of them.
      Behavior change for ImageStreamCompleter: Removing the last listener after registering at least one listener results in the object being disposed, and new listeners cannot be added, unless a keepAlive handle is created.
      Makes all non-stateful holders of ui.Image (i.e. paintImage and RawImage) assert that whoever gave the image to them has not disposed it on them.
      a7954691
  17. 23 Sep, 2020 1 commit
  18. 22 Sep, 2020 2 commits
  19. 18 Sep, 2020 1 commit
  20. 16 Sep, 2020 1 commit
  21. 31 Aug, 2020 2 commits
    • 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
    • Chris Bracken's avatar
      Match lerped values using moreOrLessEquals (#64908) · 8fa5c55e
      Chris Bracken authored
      Several of our tests make use of numbers without an exact floating point
      representation (frequently 0.x where x!=5) which, when scaled, also
      scale the error. The end result is that some of these tests currently
      implicitly rely on an implementation detail of floating point math and
      are sensitive to differences in the ~15th decimal place.
      
      This patch reduces the sensitivity of some of these tests, checking
      values using `moreOrLessEquals` from the flutter_test package
      rather than requiring en exact match.
      8fa5c55e
  22. 26 Aug, 2020 1 commit
  23. 21 Aug, 2020 2 commits
  24. 19 Aug, 2020 3 commits
  25. 12 Aug, 2020 1 commit
  26. 06 Aug, 2020 1 commit
  27. 04 Aug, 2020 2 commits
  28. 29 Jul, 2020 1 commit
  29. 28 Jul, 2020 2 commits