1. 05 Oct, 2020 1 commit
  2. 31 Aug, 2020 1 commit
    • Chris Bracken's avatar
      Prefer moreOrLessEquals to closeTo (#64914) · c935a448
      Chris Bracken authored
      moreOrLessEquals is the preferred mechanism for checking that a value is
      within some error bound epsilon, with default value for epsilon of
      precisionErrorTolerance.
      
      This patch replaces instances of closeTo using precisionErrorTolerance.
      c935a448
  3. 11 Jun, 2020 2 commits
  4. 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
  5. 24 Sep, 2019 1 commit
  6. 20 Aug, 2019 1 commit
  7. 20 Jun, 2019 1 commit
  8. 16 May, 2019 1 commit
  9. 24 Jan, 2019 2 commits
  10. 12 Sep, 2018 1 commit
  11. 07 Sep, 2018 1 commit
  12. 29 Aug, 2018 1 commit
  13. 23 Aug, 2018 1 commit
  14. 12 Mar, 2018 1 commit
  15. 02 Feb, 2018 1 commit
  16. 22 Nov, 2017 1 commit
    • Kyle Bradshaw's avatar
      AnimationController reset() method (#13044) · 3dc32873
      Kyle Bradshaw authored
      * AnimationController reset() method
      
      Just a simple convenience method to fix #13039
      
      * Added `reset()` test
      
      * More test expectations
      
      Per feedback.
      
      * Removed test print
      
      * Improved documentation of reset()
      
      * Add controller.reverse to test
      3dc32873
  17. 16 Nov, 2017 1 commit
    • Ian Hickson's avatar
      ExpansionPanel animation fixes (#13032) · c97fc206
      Ian Hickson authored
      Previously, ExpansionPanel would do weird things if interacted with
      when it was already animating. This is fixed and there's now a test.
      
      Also:
      
       * Minor fixes to make the gallery work in RTL, not that there's
         any way to see that without hard-coding the framework to RTL.
         But at least I'll be less annoyed when doing that.
      
       * Some trivial code and documentation cleanup.
      c97fc206
  18. 04 Aug, 2017 3 commits
  19. 02 May, 2017 1 commit
    • Ian Hickson's avatar
      Flush microtasks after transient callbacks are run. (#9702) · e8c46927
      Ian Hickson authored
      This splits the frame pipeline into two, beginFrame and drawFrame.
      
      As part of making this change I added some debugging hooks that helped
      debug the issues that came up:
      
       * I added debugPrintScheduleFrameStacks which prints a stack whenever
         a frame is actually scheduled, so you can see why frames are being
         scheduled.
      
       * I added some toString output to EditableText and RawKeyboardListener.
      
       * I added a scheduler_tester.dart library for scheduler library tests.
      
       * I changed the test framework to flush microtasks before pumping.
      
       * Some asserts that had the old string literal form were replaced by
         asserts with messages.
      
      I also fixed a few subtle bugs that this uncovered:
      
       * setState() now calls `ensureVisualUpdate`, rather than
         `scheduleFrame`. This means that calling it from an
         AnimationController callback does not actually schedule an extra
         redundant frame as it used to.
      
       * I corrected some documentation.
      e8c46927
  20. 16 Mar, 2017 1 commit
  21. 15 Mar, 2017 1 commit
  22. 04 Mar, 2017 1 commit
  23. 20 Jan, 2017 1 commit
  24. 19 Jan, 2017 1 commit
    • Adam Barth's avatar
      Improve Route lifecycle (#7526) · 23361d5a
      Adam Barth authored
      Previously the navigator wouldn't always call Route.dispose when it was
      removed from the tree. After this patch, the navigator remembers popped
      routes so that it can call dispose on them when it is removed from the
      tree.
      
      Also, improve some error messages around calling dispose() more than
      once on routes and AnimationControllers.
      
      Fixes #7457
      23361d5a
  25. 11 Jan, 2017 1 commit
  26. 17 Nov, 2016 1 commit
  27. 26 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Turn off AnimationControllers when not in use (#5902) · 9e673853
      Ian Hickson authored
      This requires all AnimationController objects to be given a
      TickerProvider, a class that can create the Ticker.
      
      It also provides some nice mixins for people who want to have their
      State provide a TickerProvider. And a schedulerTickerProvider for those
      cases where you just want to see your battery burn.
      
      Also, we now enforce destruction order for elements.
      9e673853
  28. 04 Aug, 2016 1 commit
  29. 24 Jun, 2016 1 commit
  30. 23 Jun, 2016 2 commits
  31. 13 Jun, 2016 1 commit
  32. 04 May, 2016 1 commit
  33. 22 Apr, 2016 1 commit
  34. 02 Mar, 2016 1 commit
  35. 27 Feb, 2016 1 commit
    • Adam Barth's avatar
      Elide fewer AnimationStatus callbacks · 25ab5555
      Adam Barth authored
      Previously we would elide forward and reverse callbacks that canceled each
      other out, which broke the expected state machine. Now we synchronously deliver
      status callbacks when start an animation.
      
      Fixes #1913
      25ab5555