1. 12 Jul, 2022 1 commit
  2. 08 Jul, 2022 1 commit
  3. 07 Jul, 2022 1 commit
  4. 14 Apr, 2022 1 commit
  5. 08 Oct, 2021 3 commits
  6. 13 May, 2021 1 commit
  7. 07 Oct, 2020 1 commit
  8. 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
  9. 11 Jun, 2020 1 commit
  10. 27 Jan, 2020 1 commit
  11. 17 Jan, 2020 1 commit
  12. 16 Jan, 2020 1 commit
  13. 07 Jan, 2020 1 commit
  14. 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
  15. 11 Oct, 2018 1 commit
  16. 08 Oct, 2018 1 commit
    • Ian Hickson's avatar
      Fix bug in AnimatedSwitcher (#22183) · 874df1ec
      Ian Hickson authored
      * Refactor AnimatedSwitcher
      
      This is mostly just a little bit of cleanup with hopefully no semantic
      changes, done to teach me how the code works so that I could fix a bug.
      
      * Add debugging information to AnimatedSwitcher
      
      * Fix AnimatedSwitcher to handle the case of back-to-back changes
      
      Previously, if a child was replaced the very next frame after it was
      added, we'd get confused because we tried to reverse the controller,
      which causes us to remove the child from the going-away list, before
      we had added the child to the list in the first place.
      
      The fix is just to move the reverse to after the add.
      874df1ec
  17. 12 Sep, 2018 1 commit
  18. 02 Aug, 2018 1 commit
  19. 27 Jul, 2018 1 commit
  20. 23 Jul, 2018 1 commit
  21. 16 Jul, 2018 2 commits
  22. 20 Jun, 2018 1 commit
  23. 19 Jun, 2018 1 commit
  24. 18 May, 2018 1 commit
    • Greg Spencer's avatar
      Speed up AnimatedSwitcher. (#17265) · 1f5fcb74
      Greg Spencer authored
      This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily.
      
      This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).
      1f5fcb74
  25. 16 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Rename AnimatedChildSwitcher to AnimatedSwitcher (#16551) · 6c049ec2
      Greg Spencer authored
      We don't really like the name AnimatedChildSwitcher, and we think that AnimatedSwitcher might be better (since the Child part is redundant). We also considered AnimatedChild, AnimatedTransition and AnimatedReplacement (among others).
      
      Nothing in here besides a rename.
      6c049ec2
  26. 12 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Fix a bug in the AnimatedChildSwitcher, add builders. (#16250) · c73b8a7c
      Greg Spencer authored
      This fixes a rendering problem in the AnimatedChildSwitcher where it would add a new "previous" child each time it rebuilt, and if you did it fast enough, all of them would disappear from the page.
      
      It also expands the API for AnimatedChildSwitcher to allow you to specify your own transition and/or layout builder for the transition.
      
      Fixes #16226
      c73b8a7c
  27. 03 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Add AnimatedChildSwitcher widget (#16192) · 6c896ae1
      Greg Spencer authored
      The AnimatedChildSwitcher widget (originally authored by Hixie), will cross-fade between a new child, and a previous child (or children, if the switch happens faster than the fade finishes).
      
      It's a good candidate for places where a widget will be added/removed from a slot, and you want a nice transition to occur.
      6c896ae1