1. 23 May, 2023 1 commit
  2. 18 Apr, 2023 1 commit
  3. 09 Nov, 2022 1 commit
  4. 21 Sep, 2022 1 commit
  5. 11 Aug, 2022 2 commits
  6. 12 May, 2022 1 commit
  7. 25 Feb, 2022 1 commit
  8. 13 Dec, 2021 1 commit
  9. 04 Oct, 2021 1 commit
  10. 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
  11. 12 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Switch document generation to use the snippets package (#87231) · 10e4b040
      Greg Spencer authored
      Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.
      
      This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.
      
      The snippets code is deleted in this PR.
      
      I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.
      
      The snippets package resides in the assets-for-api-docs repo.
      
      The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
      10e4b040
  12. 03 Aug, 2021 1 commit
  13. 22 Jul, 2021 2 commits
  14. 16 Jul, 2021 1 commit
  15. 14 Jul, 2021 1 commit
  16. 09 Jul, 2021 1 commit
  17. 28 Jun, 2021 1 commit
  18. 23 Jun, 2021 1 commit
  19. 22 Jun, 2021 1 commit
  20. 16 Jun, 2021 1 commit
  21. 15 Jun, 2021 1 commit
  22. 03 Jun, 2021 1 commit
  23. 02 Jun, 2021 1 commit
  24. 27 May, 2021 1 commit
  25. 18 May, 2021 1 commit
  26. 14 May, 2021 2 commits
  27. 13 May, 2021 1 commit
  28. 10 May, 2021 1 commit
  29. 07 May, 2021 1 commit
  30. 30 Apr, 2021 1 commit
  31. 28 Apr, 2021 1 commit
  32. 24 Apr, 2021 1 commit
  33. 22 Apr, 2021 3 commits
  34. 21 Apr, 2021 1 commit
  35. 15 Apr, 2021 1 commit