1. 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
  2. 29 Sep, 2021 1 commit
  3. 21 Sep, 2021 1 commit
    • Bonsai11's avatar
      Adding onLongPress for DataRow (#87172) · 6d2d9b2f
      Bonsai11 authored
      * Adding onLongPress for DataRow
      
      Useful to be able to e.g. start a selection mode of rows or show a drop down menu.
      
      * Test for onLongPress
      
      * Changed parameter
      6d2d9b2f
  4. 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
  5. 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
  6. 06 Aug, 2021 1 commit
  7. 10 Jun, 2021 1 commit
  8. 13 May, 2021 1 commit
  9. 20 Apr, 2021 1 commit
  10. 25 Mar, 2021 1 commit
  11. 12 Mar, 2021 1 commit
  12. 17 Feb, 2021 1 commit
  13. 11 Feb, 2021 1 commit
  14. 27 Jan, 2021 1 commit
  15. 23 Jan, 2021 1 commit
  16. 23 Dec, 2020 1 commit
  17. 11 Dec, 2020 1 commit
  18. 02 Nov, 2020 2 commits
  19. 14 Oct, 2020 1 commit
  20. 12 Oct, 2020 1 commit
  21. 10 Oct, 2020 1 commit
  22. 09 Oct, 2020 2 commits
  23. 08 Oct, 2020 1 commit
  24. 06 Oct, 2020 1 commit
  25. 10 Sep, 2020 1 commit
  26. 08 Sep, 2020 1 commit
  27. 02 Sep, 2020 1 commit
  28. 13 Aug, 2020 1 commit
    • Wikiwix's avatar
      Fix sort indicator for DataTables (#62795) · 88118bcb
      Wikiwix authored
      * Fix sort indicator for DataTables
      
      As per material spec ascending order should be shown via an upward arrow
      This commit changes the displayed arrows accordingly.
      
      * Test sort indicator orientation in DataTable
      88118bcb
  29. 08 Aug, 2020 1 commit
  30. 06 Aug, 2020 1 commit
  31. 29 Jul, 2020 1 commit
  32. 07 Jul, 2020 1 commit
  33. 11 Jun, 2020 1 commit
  34. 06 May, 2020 1 commit
  35. 10 Apr, 2020 1 commit
  36. 13 Mar, 2020 1 commit
  37. 24 Feb, 2020 1 commit
  38. 10 Feb, 2020 1 commit
    • Greg Spencer's avatar
      Update samples to work with Dartpad, and convert all that make… (#50377) · 9fb781a5
      Greg Spencer authored
      This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site.
      
      It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally.
      
      I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level).
      
      I modified a few of the examples so that they looked nicer, and fit better on the page.
      
      I added the sample description text above each DartPad instance, since that often defines the context of the example.
      
      I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
      9fb781a5