1. 18 Jan, 2023 1 commit
  2. 10 Jan, 2023 1 commit
  3. 21 Dec, 2022 1 commit
  4. 20 Dec, 2022 1 commit
  5. 30 Nov, 2022 1 commit
    • Mitchell Goodwin's avatar
      Update CupertinoContextMenu to iOS 16 visuals (#110616) · 97195d1d
      Mitchell Goodwin authored
      * Update CupertinoContextMenu to iOS 16 visuals
      
      * Revert some formatting
      
      * Remove space
      
      * Remove formatting changes, add more comments
      
      * Added shadow effect
      
      * Update context menu tests
      
      * Remove white spaces
      
      * Remove unused variable
      
      * Refactor type checking logic
      
      * Set default previewBuilder and update tests
      
      * Check for border radius
      
      * Remove trailing spaces
      
      * Add builder to constructor
      
      * Update previewBuilder
      
      Rebase to master
      
      * Update builder and tests
      
      * Remove trailing spaces
      
      * Update examples
      
      * Refactor builder
      
      * Update builder to use one animation
      
      * Update scale
      
      * Change deprecation message, remove white spaces
      
      * Change deprecation message
      
      * Change deprecation message
      
      * Change deprecation message
      
      * Update documentation
      
      * Update documentation
      
      * Update documentation and examples
      
      * Update documentation and examples
      
      * Remove white spaces
      
      * Remove white spaces
      
      * Remove const
      
      * Address linting errors
      
      * Seperate builder into own constructor
      
      * Remove trailing characters
      
      * Formatting changes
      
      * Remove white spaces
      
      * Change ignore comment
      
      * Add TODO
      
      * Remove whitespace
      97195d1d
  6. 31 Oct, 2022 1 commit
  7. 21 Sep, 2022 1 commit
  8. 09 Sep, 2022 1 commit
  9. 19 Jul, 2022 1 commit
  10. 17 May, 2022 1 commit
  11. 09 May, 2022 1 commit
  12. 07 May, 2022 1 commit
  13. 05 May, 2022 5 commits
  14. 27 Apr, 2022 1 commit
  15. 03 Mar, 2022 1 commit
  16. 16 Feb, 2022 1 commit
  17. 15 Feb, 2022 6 commits
  18. 14 Feb, 2022 1 commit
  19. 28 Jan, 2022 1 commit
  20. 24 Jan, 2022 1 commit
  21. 15 Dec, 2021 1 commit
  22. 16 Nov, 2021 1 commit
  23. 13 Oct, 2021 1 commit
  24. 12 Oct, 2021 1 commit
  25. 08 Oct, 2021 3 commits
  26. 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
  27. 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
  28. 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