1. 21 Jan, 2022 1 commit
  2. 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
  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. 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
  5. 10 May, 2021 1 commit
  6. 12 Mar, 2021 1 commit
  7. 04 Jan, 2021 1 commit
    • Pierre-Louis's avatar
      Improve Cupertino docs (#72927) · 47e3e75b
      Pierre-Louis authored
      * Add 'See also' to cupertino library
      
      * Add snippets to CupertinoApp
      
      * Add CupertinoPageScaffold samples
      
      * Revert "Add CupertinoPageScaffold samples"
      
      This reverts commit 01b0adf351f0320af7835551102d62e3416f0eab.
      
      * Revert "Revert "Add CupertinoPageScaffold samples""
      
      This reverts commit 0af506237a16f7fec5f3744a9bd015a511a15f72.
      
      * Add CupertinoNavigationBar sample
      
      * Tweak CupertinoPageScaffold sample
      
      * Don't use Material in cupertino samples
      
      * Fix colors
      
      * Fix capitalization
      Co-authored-by: 's avatarShi-Hao Hong <shihaohong@google.com>
      
      * Apply suggestions from code review
      Co-authored-by: 's avatarShi-Hao Hong <shihaohong@google.com>
      
      * Add comment about backgroundColor
      Co-authored-by: 's avatarShi-Hao Hong <shihaohong@google.com>
      47e3e75b
  8. 20 Nov, 2020 1 commit
  9. 17 Nov, 2020 1 commit
  10. 16 Nov, 2020 1 commit
  11. 12 Nov, 2020 1 commit
  12. 11 Nov, 2020 1 commit
  13. 03 Nov, 2020 1 commit
  14. 28 Oct, 2020 1 commit
    • Greg Spencer's avatar
      Remove `nullOk` in `MediaQuery.of` (#68736) · 55289324
      Greg Spencer authored
      Adds MediaQuery.maybeOf to replace calling MediaQuery.of(context, nullOk: true), and removes the nullOk parameter. Also changes MediaQuery.of to return a non-nullable value, and removes many instances of the ! operator, reducing the possible places where a null dereference could occur.
      55289324
  15. 24 Sep, 2020 1 commit
  16. 11 Jun, 2020 1 commit
  17. 06 Jan, 2020 1 commit
  18. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  19. 25 Sep, 2019 1 commit
  20. 17 Sep, 2019 1 commit
  21. 16 Aug, 2019 1 commit
  22. 12 Aug, 2019 1 commit
  23. 27 Mar, 2019 2 commits
  24. 20 Dec, 2018 1 commit
  25. 19 Dec, 2018 1 commit
  26. 12 Sep, 2018 1 commit
  27. 27 Aug, 2018 1 commit
  28. 05 Jun, 2018 1 commit
  29. 03 May, 2018 1 commit
  30. 05 Feb, 2018 1 commit
  31. 08 Dec, 2017 1 commit
    • xster's avatar
      Let translucent Cupertino bars have its scaffold children automatically pad... · ecf50418
      xster authored
      Let translucent Cupertino bars have its scaffold children automatically pad their heights - second try (#13440)
      
      * Let translucent Cupertino bars have its scaffold children automatically pad their heights (#13194)
      
      * Let lists automatically add sliver padding from media query. Translucent nav and tab bars leave behind media query paddings in scaffolds.
      
      * tests
      
      * const lint
      
      * Rename base abstract class to generalized ObstructingPreferredSizeWidget
      
      * review
      
      * More docs and comments from #13317
      ecf50418
  32. 02 Dec, 2017 1 commit
  33. 30 Nov, 2017 1 commit
  34. 29 Sep, 2017 1 commit
  35. 28 Sep, 2017 1 commit
  36. 21 Sep, 2017 2 commits
    • xster's avatar
      Create a CupertinoTab to support parallel navigation trees in iOS (#12130) · f9e8da6d
      xster authored
      * Refactor CupertinoScaffold
      
      * Rename rootTabPageBuilder to tabBuilder
      
      * fix tab transparency padding
      
      * add a CupertinoTab
      
      * Add default background color
      
      * Add a bunch of examples
      
      * A bunch of tests
      
      * Refactor CupertinoScaffold
      
      * Rename rootTabPageBuilder to tabBuilder
      
      * fix tab transparency padding
      
      * Add default background color
      
      * review notes
      
      * fix test
      
      * review
      
      * Rename CupertinoTab to CupertinoTabView
      
      * remove final ; in sample code for analyzer
      f9e8da6d
    • xster's avatar
      Split CupertinoScaffold into CupertinoTabScaffold and CupertinoPageScaffold (#12106) · 6d470927
      xster authored
      * Refactor CupertinoScaffold
      
      * Rename rootTabPageBuilder to tabBuilder
      
      * fix tab transparency padding
      
      * Add default background color
      
      * review notes
      
      * fix test
      6d470927