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. 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
  3. 11 May, 2021 1 commit
  4. 03 May, 2021 1 commit
  5. 31 Mar, 2021 2 commits
  6. 26 Mar, 2021 1 commit
  7. 12 Mar, 2021 1 commit
  8. 27 Jan, 2021 1 commit
  9. 24 Dec, 2020 1 commit
  10. 11 Dec, 2020 1 commit
  11. 08 Dec, 2020 1 commit
  12. 23 Oct, 2020 1 commit
  13. 06 Oct, 2020 1 commit
  14. 05 Aug, 2020 1 commit
  15. 17 Jun, 2020 1 commit
  16. 11 Jun, 2020 1 commit
  17. 11 Feb, 2020 1 commit
  18. 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
  19. 09 Jan, 2020 1 commit
  20. 08 Jan, 2020 2 commits
    • Greg Spencer's avatar
    • Marius Meißner's avatar
      Flexible padding (header height) for expanded panels (#47951) · 0384c8c4
      Marius Meißner authored
      * Added property for expanded padding of expansion panel for solving #24071
      
      * #24071: Renamed default const name for being more descriptive
      
      * #24071: Improved comment of property expandedPadding
      
      * #24071: Improved test by expanding the expansion panel by header tap + precise assertion
      
      * #24071: Renamed property to be more descriptive
      
      * #24071: Adjusted property comment and added missing trailing commas
      
      * #24071: Improved test by checking real exact header size
      
      * #24071: Added test for default header padding
      
      * #24071: Improved comment of expandedHeaderPadding + code style adjustments
      
      * #24071: Added missing trailing comma
      0384c8c4
  21. 07 Jan, 2020 1 commit
  22. 13 Dec, 2019 1 commit
  23. 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
  24. 30 Sep, 2019 1 commit
  25. 24 Sep, 2019 1 commit
  26. 08 Aug, 2019 1 commit
  27. 18 Jun, 2019 1 commit
  28. 29 Apr, 2019 1 commit
    • Shi-Hao Hong's avatar
      Fix ExpansionPanelList Duplicate Global Keys Exception (#31228) · 39712854
      Shi-Hao Hong authored
      - Move `setState` to only be invoked when guarded by `widget._allowMultiplePanelsOpen`, fixing the case for `ExpansionPanelList`
      
      - Remove setting `_currentOpenPanel` to `widget.initialOpenPanelValue` in `didUpdateWidget`, since this should only occur on `initState` and not every time the widget is updated. This fixes the problem for `ExpansionPanelList.radio`
      
      - Added a `didUpdateWidget` condition for when `ExpansionPanelList` changes into `ExpansionPanelList.radio` to open the panel at `widget.initialOpenPanelValue`
      
      - Added test cases for regression, expansionCallback cases, and `didUpdateWidget` transitions between `ExpansionPanelList` and `ExpansionPanelList.radio`
      39712854
  29. 18 Apr, 2019 1 commit
  30. 09 Apr, 2019 1 commit
  31. 04 Apr, 2019 1 commit
  32. 20 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      some spaces formatting (#29452) · a6af4228
      Alexandre Ardhuin authored
      * some space formattings
      
      * always use blocks in if-else if a block is used
      
      * format spaces in for and while
      
      * allow multiline if conditions
      
      * fix missing space
      a6af4228
  33. 09 Mar, 2019 1 commit
  34. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  35. 01 Feb, 2019 1 commit
  36. 30 Jan, 2019 1 commit
  37. 02 Oct, 2018 1 commit
  38. 14 Sep, 2018 1 commit