- 11 Dec, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 26 Oct, 2020 1 commit
-
-
Jonah Williams authored
-
- 22 Oct, 2020 1 commit
-
-
Jonah Williams authored
Add a language version so the snippets do not opt-in automatically. Fixes #68719
-
- 21 Aug, 2020 1 commit
-
-
Ian Hickson authored
-
- 23 Jul, 2020 1 commit
-
-
Yazeed Al-Khalaf authored
*
Fix Spelling Issues in Main README.md * Fix spelling issues in dev README.md * Fix spelling issues in complex_layout README.md * Fix spelling issues in macrobenchmarks README.md * Fix spelling issues in platform_views_layout README.md * Fix spelling issues in test_Apps/stocks README.md * Fix spelling issues in bots README.md * Spell Check dev/ci README.md * Spell Check dev/ci/docker_linux README.md * Spell Check dev/devicelab README.md * Spell Check dev/docs README.md * Spell Check dev/snippets README.md * Spell Check dev/snippets/config/templates README.md * Spell Check dev/tools/gen_keycodes README.md * Spell Check dev/tools/vitool README.md * Spell Check examples/catalog README.md * Spell Check examples/flutter_view README.md * Spell Check examples/image_list README.md * Spell Check examples/layers README.md * Spell Check examples/platform_channel README.md * Spell Check examples/platform_channel_swift README.md * Spell Check examples/platform_view README.md * Spell Check packages/_flutter_web_build_script README.md * Spell Check packages/flutter_localizations README.md * Spell Check packages/flutter_tools README.md * Spell Check CODE_OF_CONDUCT.md * Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md * Spell Check dev/integration_test/android_views README.md * Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md * Spell Check dev/integration_tests/flutter_gallery README.md * Spell Check dev/integration_tests/gradle_deprecated_settings README.md * Spell Check dev/integration_tests/ios_add2app_life_cycle README.md * Spell Check dev/integration_tests/ios_host_app README.md * Spell Check dev/integration_tests/ios_platform_view_tests README.md * Spell Check dev/automated_tests/flutter_test README.md * Spell Check .github/PULL_REQUEST_TEMPLATE.md * Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md * Spell Check .github/ISSUE_TEMPLATE/BUG.md * Spell Check .github/ISSUE_TEMPLATE/feature_request.md * Spell Check .github/ISSUE_TEMPLATE/performance_others.md * Spell Check .github/ISSUE_TEMPLATE/performance_speed.md * Spell Check packages/flutter_tools/doc/daemon.md * Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md * Minimize line to 80 columns * Minimize line to 80 columns * Fix Typo * Chnaged numbers to 1 for testing purposes * Changed numbers to 1 for testing purposes * Remove 'a' which is a typo * Change a sentence to be better * Remove 'a' which is a typo * Fix small issue * Fix small typo * Fix some typos * Remove trailing space * Remove trailing space * Fix small typo * Fix Typo * Fix small bug
-
- 09 Jul, 2020 1 commit
-
-
Kate Lovett authored
-
- 10 Mar, 2020 1 commit
-
-
Greg Spencer authored
This adds a sample for InheritedNotifier, and converts a couple of other samples to be DartPad samples. I also added a new sample template stateful_widget_material_ticker, which adds a TickerProviderStateMixin to the state object so that animation controllers can be created there easily.
-
- 15 Nov, 2019 1 commit
-
-
Greg Spencer authored
This fixes the snippet code output so that it includes the name of the element that it is a snippet for in the first line.
-
- 24 Sep, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 16 Sep, 2019 2 commits
-
-
MH Johnson authored
-
MH Johnson authored
* Create 'center' template
-
- 09 Jul, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 10 Jun, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add dartdoc generation README helper images * Add test doc generation workflow section * Add info about interpolating into templates
-
- 29 May, 2019 1 commit
-
-
Todd Volkert authored
This adds two new builders to the `Image` class: * `frameBuilder`, which allows callers to control the widget created by an [Image]. * `loadingBuilder`, which allows callers fine-grained control over how to display loading progress of an image to the user. `FadeInImage` can be simplified by migrating to the new API. This is done in a follow-on commit. https://github.com/flutter/flutter/issues/32374
-
- 25 May, 2019 1 commit
-
-
Chris Bracken authored
Corects a bnuch of typeos throuhgout teh Fluter codebsae. Made use of the `misspell` tool: https://github.com/client9/misspell
-
- 24 May, 2019 1 commit
-
-
Todd Volkert authored
-
- 25 Apr, 2019 1 commit
-
-
Greg Spencer authored
This re-lands the Focus changes in #30040. Correctness changes in routes.dart, and removes the automatic requesting of focus on reparent when there is no current focus, which caused undesirable selections. Addresses #11344, #1608, #13264, and #1678 Fixes #30084 Fixes #26704
-
- 23 Apr, 2019 1 commit
-
-
Greg Spencer authored
This reverts commit 4218c0bc.
-
- 22 Apr, 2019 1 commit
-
-
Greg Spencer authored
Implements focus traversal for desktop platforms, including re-implementing the existing focus manager and focus tree. This implements a Focus widget that can be put into a widget tree to allow input focus to be given to a particular part of a widget tree. It incorporates with the existing FocusScope and FocusNode infrastructure, and has minimal breakage to the API, although FocusScope.reparentIfNeeded is removed, replaced by a call to FocusAttachment.reparent(), so this is a breaking change: FocusScopeNodes must now be attached to the focus tree using FocusScopeNode.attach, which takes a context and an optional onKey callback, and returns a FocusAttachment that should be kept by the widget that hosts the FocusScopeNode. This is necessary because of the need to make sure that the focus tree reflects the widget hierarchy. Callers that used to call FocusScope(context).reparentIfNeeded in their build method will call reparent on a FocusAttachment instead, which they will obtain by calling FocusScopeNode.attach in their initState method. Widgets that own FocusNodes will need to call dispose on the focus node in their dispose method. Addresses #11344, #1608, #13264, and #1678 Fixes #30084 Fixes #26704
-
- 15 Feb, 2019 1 commit
-
-
Greg Spencer authored
This converts all remaining "## Sample code" segments into snippets, and fixes the snippet generator to handle multiple snippets in the same dartdoc block properly. I also generated, compiled, and ran each of the existing application samples, and fixed them up to be more useful and/or just run without errors. This PR fixes these problems with examples: 1. Switching tabs in a snippet now works if there is more than one snippet in a single dartdoc block. 2. Generation of snippet code now works if there is more than one snippet. 3. Contrast of text and links in the code sample block has been improved to recommended levels. 4. Added five new snippet templates, including a "freeform" template to make it possible to show examples that need to change the app instantiation. 5. Fixed several examples to run properly, a couple by adding the "Scaffold" widget to the template, a couple by just fixing their code. 6. Fixed visual look of some of the samples when they run by placing many samples inside of a Scaffold. 7. In order to make it easier to run locally, changed the sample analyzer to remove the contents of the supplied temp directory before running, since having files that hang around is problematic (only a problem when running locally with the `--temp` argument). 8. Added a `SampleCheckerException` class, and handle sample checking exceptions more gracefully. 9. Deprecated the old "## Sample code" designation, and added enforcement for the deprecation. 10. Removed unnecessary `new` from templates (although they never appeared in the samples thanks to dartfmt, but still). Fixes #26398 Fixes #27411
-
- 13 Dec, 2018 1 commit
-
-
Greg Spencer authored
Adds documentation for the stateless widget template, and adds an "imports" section to both templates.
-
- 08 Nov, 2018 1 commit
-
-
Greg Spencer authored
This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form. Also: 1. Fixed a minor bug in analyze-sample-code.dart 2. Made the snippet tool only insert descriptions if the description is non-empty. 3. Moved the Card diagram to before the code sample.
-
- 05 Nov, 2018 1 commit
-
-
Greg Spencer authored
This rewrites the sample code analysis script to be a little less of a hack (but still not pretty), and to handle snippets as well. It also changes the semantics of how sample code is handled: the namespace for the sample code is now limited to the file that it appears in, so some additional "Examples can assume:" blocks were added. The upside of this is that there will be far fewer name collisions. I fixed the output too: no longer will you get 4000 lines of numbered output with the error at the top and have to grep for the actual problem. It gives the filename and line number of the original location of the code (in the comment in the tree), and prints out the source code on the line that caused the problem along with the error. For snippets, it prints out the location of the start of the snippet and the source code line that causes the problem. It can't print out the original line, because snippets get formatted when they are written, so the line might not be in the same place.
-
- 23 Oct, 2018 1 commit
-
-
Greg Spencer authored
This creates a custom dartdoc tool that will generate snippet blocks in our API docs that allow the user to copy easily to the clipboard, and will also embed the snippet code into a template to show it in a larger context with an app. This PR adds the snippet tool, a template, and a couple of HTML skeleton files, one for snippets that are designed to be in an application setting, and one where it simply puts a nice container around existing snippets, making them easier to copy to the clipboard.
-