1. 26 Mar, 2022 1 commit
  2. 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
  3. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2
  4. 19 Aug, 2021 1 commit
  5. 28 Jun, 2021 1 commit
  6. 02 Jun, 2021 1 commit
  7. 19 May, 2021 1 commit
  8. 04 Mar, 2021 1 commit
  9. 11 Feb, 2021 1 commit
  10. 02 Oct, 2020 1 commit
  11. 24 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] register service worker after first frame event (#66082) · 90d83e37
      Jonah Williams authored
      Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame.
      
      To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup.
      
      Fixes #66066
      90d83e37
  12. 08 Aug, 2020 1 commit
  13. 05 Mar, 2020 1 commit
  14. 31 Jan, 2020 1 commit
  15. 28 Jan, 2020 1 commit
  16. 14 Jan, 2020 2 commits
  17. 10 Jan, 2020 1 commit
  18. 07 Jun, 2019 1 commit