1. 10 Feb, 2023 1 commit
  2. 25 Jan, 2023 1 commit
  3. 07 Dec, 2022 1 commit
    • Greg Spencer's avatar
      Time picker precursors (#116450) · 31719941
      Greg Spencer authored
      * Make some minor changes in preparation for updating the Time Picker to M3
      
      * Revert OutlineInputBorder.borderRadius type change
      
      * Revert more OutlineInputBorder.borderRadius changes.
      31719941
  4. 12 Sep, 2022 1 commit
  5. 02 Sep, 2022 1 commit
  6. 17 Aug, 2022 1 commit
  7. 10 Aug, 2022 1 commit
  8. 10 Jun, 2022 1 commit
  9. 02 Jun, 2022 2 commits
  10. 27 May, 2022 1 commit
  11. 19 May, 2022 1 commit
  12. 28 Apr, 2022 1 commit
  13. 14 Apr, 2022 1 commit
  14. 19 Nov, 2021 1 commit
  15. 14 Oct, 2021 1 commit
  16. 08 Oct, 2021 1 commit
  17. 06 Oct, 2021 1 commit
  18. 04 Oct, 2021 1 commit
    • Greg Spencer's avatar
      Clean up examples, remove section markers and --template args (#91133) · fd9ce277
      Greg Spencer authored
      This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.
      
      I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.
      
      I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
      fd9ce277
  19. 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
  20. 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
  21. 08 Jul, 2021 1 commit
  22. 14 Apr, 2021 1 commit
  23. 13 Apr, 2021 1 commit
  24. 12 Apr, 2021 1 commit
  25. 31 Mar, 2021 1 commit
    • Craig Labenz's avatar
      Add MaterialStateBorderSide.resolveWith (#78731) · 9bbe89d8
      Craig Labenz authored
      * added MaterialStateBorderSide.resolveWith
      
      (Partially) Resolves #68596
      
      * responded to comment nits
      
      * reversed changes to text_buttons
      
      * added test confirming compatibility with chips
      
      * added MaterialStateBorderSide test for chip
      
      * added intended usage for MaterialStateXYZ classes
      
      * another docstring update
      
      * corrected error in use case
      
      * made resolvewith samples closures
      
      * refined materialstatecolor example in docstring
      
      * changed nullability in docstring and added null test
      
      * added missing type in test
      
      * fixed another typo in docstrings
      9bbe89d8
  26. 12 Mar, 2021 2 commits
  27. 18 Feb, 2021 1 commit
  28. 29 Jan, 2021 1 commit
  29. 15 Dec, 2020 1 commit
  30. 11 Dec, 2020 1 commit
  31. 28 Oct, 2020 1 commit
  32. 21 Oct, 2020 1 commit
  33. 06 Oct, 2020 1 commit
  34. 28 Sep, 2020 1 commit
  35. 17 Sep, 2020 1 commit
  36. 29 Jul, 2020 1 commit
  37. 15 Jul, 2020 1 commit
  38. 09 Jul, 2020 1 commit