diff --git a/packages/site_shared/lib/src/markdown/markdown_parser.dart b/packages/site_shared/lib/src/markdown/markdown_parser.dart index 14168908a91..60165d98478 100644 --- a/packages/site_shared/lib/src/markdown/markdown_parser.dart +++ b/packages/site_shared/lib/src/markdown/markdown_parser.dart @@ -173,8 +173,13 @@ class DashMarkdownParser implements PageParser { } } } else if (node is md.Text) { + final fragment = html.HtmlParser( + node.text, + strict: true, + generateSpans: true, + ).parseFragment(); currentNodes.addAll( - HtmlParser.buildNodes(html.parseFragment(node.text).nodes), + HtmlParser.buildNodes(fragment.nodes), ); } else if (node is md.Element) { final nodeChildren = node.children; diff --git a/sites/docs/lib/src/style_hash.dart b/sites/docs/lib/src/style_hash.dart index cda8a35dcdf..bd8e030c02b 100644 --- a/sites/docs/lib/src/style_hash.dart +++ b/sites/docs/lib/src/style_hash.dart @@ -2,4 +2,4 @@ // dart format off /// The generated hash of the `main.css` file. -const generatedStylesHash = 'MrDaamQhHwYP'; +const generatedStylesHash = ''; diff --git a/sites/docs/src/content/add-to-app/ios/project-setup.md b/sites/docs/src/content/add-to-app/ios/project-setup.md index 671366c1284..5bb6f33890e 100644 --- a/sites/docs/src/content/add-to-app/ios/project-setup.md +++ b/sites/docs/src/content/add-to-app/ios/project-setup.md @@ -166,6 +166,7 @@ The example directory structure resembles the following: 1. Navigate to your target's **General** tab and add `FlutterNativeIntegration` under **Frameworks, Libraries, and Embedded Content**. + 1.

Add build settings

diff --git a/sites/docs/src/content/add-to-app/macos/project-setup.md b/sites/docs/src/content/add-to-app/macos/project-setup.md index b58e554f9f8..85da577dd4e 100644 --- a/sites/docs/src/content/add-to-app/macos/project-setup.md +++ b/sites/docs/src/content/add-to-app/macos/project-setup.md @@ -124,6 +124,7 @@ The example directory structure resembles the following: 1. Navigate to your target's **General** tab and add `FlutterNativeIntegration` under **Frameworks, Libraries, and Embedded Content**. + 1.

Add build settings

diff --git a/sites/docs/src/content/app-architecture/case-study/dependency-injection.md b/sites/docs/src/content/app-architecture/case-study/dependency-injection.md index cbe5cd3aba4..260a367633c 100644 --- a/sites/docs/src/content/app-architecture/case-study/dependency-injection.md +++ b/sites/docs/src/content/app-architecture/case-study/dependency-injection.md @@ -28,8 +28,8 @@ Using this diagram as a guide, the rules of engagement are as follows: | Component | Rules of engagement | |------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| View |
  1. A view is only aware of exactly one view model, and is never aware of any other layer or component. When created, Flutter passes the view model to the view as an argument, exposing the view model's data and command callbacks to the view.
  2. | -| ViewModel |
    1. A ViewModel belongs to exactly one view, which can see its data, but the model never needs to know that a view exists.
    2. A view model is aware of one or more repositories, which are passed into the view model's constructor.
    3. | +| View |
      1. A view is only aware of exactly one view model, and is never aware of any other layer or component. When created, Flutter passes the view model to the view as an argument, exposing the view model's data and command callbacks to the view.
      | +| ViewModel |
      1. A ViewModel belongs to exactly one view, which can see its data, but the model never needs to know that a view exists.
      2. A view model is aware of one or more repositories, which are passed into the view model's constructor.
      | | Repository |
      1. A repository can be aware of many services, which are passed as arguments into the repository constructor.
      2. A repository can be used by many view models, but it never needs to be aware of them.
      | | Service |
      1. A service can be used by many repositories, but it never needs to be aware of a repository (or any other object).
      | diff --git a/sites/docs/src/content/app-architecture/case-study/ui-layer.md b/sites/docs/src/content/app-architecture/case-study/ui-layer.md index 3533ed30127..f461db78e4d 100644 --- a/sites/docs/src/content/app-architecture/case-study/ui-layer.md +++ b/sites/docs/src/content/app-architecture/case-study/ui-layer.md @@ -410,8 +410,7 @@ a [`Dismissible`][] widget. Recall this code from the previous snippet: - - On the `HomeScreen`, a user's saved trip is represented by diff --git a/sites/docs/src/content/install/manual.md b/sites/docs/src/content/install/manual.md index 4b3b24ed70d..670627266e2 100644 --- a/sites/docs/src/content/install/manual.md +++ b/sites/docs/src/content/install/manual.md @@ -206,9 +206,9 @@ then extract the SDK to where you want it stored. download one of the following installation bundles to get the latest stable release of the Flutter SDK. - | Apple Silicon (ARM64) | Intel | - |--------------------------------------------------|------------------------------------------------| - | | | + | Apple Silicon (ARM64) | Intel | + |-----------------------------------------------------------------------|---------------------------------------------------------------------| + | | | 1.

      Create a folder to store the SDK

      diff --git a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.12.13.md b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.12.13.md index 356bef7bcb8..b28a83af22a 100644 --- a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.12.13.md +++ b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.12.13.md @@ -146,7 +146,7 @@ From Sun Aug 19 17:37:00 2019 -0700 to Mon Nov 25 12:05:00 2019 -0800 [38932](https://github.com/flutter/flutter/pull/38932) Add build warning for non-debug desktop builds (cla: yes, tool) -[38936](https://github.com/flutter/flutter/pull/38936) Fix KeySet (and LogicalKeySet) hashCode calculation (cla: yes, framework) +[38936](https://github.com/flutter/flutter/pull/38936) Fix `KeySet` (and LogicalKeySet) hashCode calculation (cla: yes, framework) [38979](https://github.com/flutter/flutter/pull/38979) Adding onEnd callback to implicit animated widgets (a: animation, cla: yes, framework, waiting for tree to go green) @@ -2299,7 +2299,7 @@ From Sun Aug 19 17:37:00 2019 -0700 to Mon Nov 25 12:05:00 2019 -0800 [11576](https://github.com/flutter/engine/pull/11576) Minor tweaks to the Doxygen theme. (cla: yes) -[11622](https://github.com/flutter/engine/pull/11622) Include from font_asset_provider (cla: yes) +[11622](https://github.com/flutter/engine/pull/11622) Include `` from font_asset_provider (cla: yes) [11635](https://github.com/flutter/engine/pull/11635) [flutter_runner] Port Expose ViewBound Wireframe Functionality (cla: yes) diff --git a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.2.1.md b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.2.1.md index 368db2a2077..344d14746d2 100644 --- a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.2.1.md +++ b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.2.1.md @@ -651,7 +651,7 @@ From Fri Nov 29 19:41:00 2018 -0800 to Thu Feb 21 20:22:00 2019 -0800 [26721](https://github.com/flutter/flutter/pull/26721) Respect EditableText.keyboardAppearance (a: text input, cla: yes, f: cupertino, framework) -[26722](https://github.com/flutter/flutter/pull/26722) [Material] Refactor _build methods in BottomNavBar (cla: yes, f: material design, framework) +[26722](https://github.com/flutter/flutter/pull/26722) [Material] Refactor `_build` methods in BottomNavBar (cla: yes, f: material design, framework) [26727](https://github.com/flutter/flutter/pull/26727) Roll engine to d470fc65ea1cb91ae66706b320d82c4536a4da8b (cla: yes) @@ -1904,7 +1904,7 @@ From Fri Nov 29 19:41:00 2018 -0800 to Thu Feb 21 20:22:00 2019 -0800 [1162](https://github.com/flutter/plugins/pull/1162) [In_app_purchase] Expose nslocale and expose currencySymbol instead of currencyCode to match android (cla: yes) -[1163](https://github.com/flutter/plugins/pull/1163) Change from Rectangle/Point to Rect/Offset for ui convenience (cla: yes) +[1163](https://github.com/flutter/plugins/pull/1163) Change from `Rectangle`/`Point` to Rect/Offset for ui convenience (cla: yes) [1169](https://github.com/flutter/plugins/pull/1169) [In_app_purchase] getproductlist basic draft (cla: yes) diff --git a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.5.4.md b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.5.4.md index 6b9b957e052..5cc5bfe1080 100644 --- a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.5.4.md +++ b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.5.4.md @@ -1730,7 +1730,7 @@ From Thu Feb 21 20:22:00 2019 -0800 to Wed May 1 16:56:00 2019 -0700 [8557](https://github.com/flutter/engine/pull/8557) Update README.md (cla: yes) -[8562](https://github.com/flutter/engine/pull/8562) Add missing include to text_input_model.h (cla: yes) +[8562](https://github.com/flutter/engine/pull/8562) Add missing `` include to text_input_model.h (cla: yes) [8563](https://github.com/flutter/engine/pull/8563) Remove unused import in FlutterActivityDelegate (cla: yes) @@ -1818,7 +1818,7 @@ From Thu Feb 21 20:22:00 2019 -0800 to Wed May 1 16:56:00 2019 -0700 [8658](https://github.com/flutter/engine/pull/8658) Allow native bindings in secondary isolates. (cla: yes) -[8659](https://github.com/flutter/engine/pull/8659) Replace ThreadLocal with ThreadLocalUniquePtr (cla: yes) +[8659](https://github.com/flutter/engine/pull/8659) Replace ThreadLocal with `ThreadLocalUniquePtr` (cla: yes) [8661](https://github.com/flutter/engine/pull/8661) Put the testing lib in the flutter namespace. (cla: yes) diff --git a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.7.8.md b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.7.8.md index 80abad45850..4110264a3e2 100644 --- a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.7.8.md +++ b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.7.8.md @@ -221,7 +221,7 @@ From Wed May 1 16:56:00 2019 -0700 to Thu Jul 18 08:04:00 2019 -0700 [32410](https://github.com/flutter/flutter/pull/32410) Add ancestor and descendant finders to Driver (cla: yes, framework, waiting for tree to go green) -[32425](https://github.com/flutter/flutter/pull/32425) Fix benchmark regression in layer.find(Offset) (cla: yes) +[32425](https://github.com/flutter/flutter/pull/32425) Fix benchmark regression in `layer.find(Offset)` (cla: yes) [32434](https://github.com/flutter/flutter/pull/32434) Support for replacing the TabController, after disposing the old one (cla: yes, f: material design, framework) @@ -1219,7 +1219,7 @@ From Wed May 1 16:56:00 2019 -0700 to Thu Jul 18 08:04:00 2019 -0700 [35574](https://github.com/flutter/flutter/pull/35574) Fix semantics for floating pinned sliver app bar (a: accessibility, cla: yes, f: scrolling, framework, waiting for tree to go green) -[35646](https://github.com/flutter/flutter/pull/35646) Prepare for Socket implements Stream (cla: yes) +[35646](https://github.com/flutter/flutter/pull/35646) Prepare for `Socket implements Stream` (cla: yes) [35657](https://github.com/flutter/flutter/pull/35657) Remove paused check for tooling tests (cla: yes, tool) diff --git a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.9.1.md b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.9.1.md index 3463509841f..f9480eb52a7 100644 --- a/sites/docs/src/content/release/release-notes/changelogs/changelog-1.9.1.md +++ b/sites/docs/src/content/release/release-notes/changelogs/changelog-1.9.1.md @@ -260,7 +260,7 @@ From Fri Jun 21 22:31:55 2019 -0400 to Sun Aug 18 12:22:00 2019 -0700 [35574](https://github.com/flutter/flutter/pull/35574) Fix semantics for floating pinned sliver app bar (a: accessibility, cla: yes, f: scrolling, framework, waiting for tree to go green) -[35646](https://github.com/flutter/flutter/pull/35646) Prepare for Socket implements Stream (cla: yes) +[35646](https://github.com/flutter/flutter/pull/35646) Prepare for `Socket implements Stream` (cla: yes) [35657](https://github.com/flutter/flutter/pull/35657) Remove paused check for tooling tests (cla: yes, tool) @@ -806,7 +806,7 @@ From Fri Jun 21 22:31:55 2019 -0400 to Sun Aug 18 12:22:00 2019 -0700 [37514](https://github.com/flutter/flutter/pull/37514) [flutter_tool] Remove unintended analytics screen send (cla: yes, tool) -[37515](https://github.com/flutter/flutter/pull/37515) Upstream web support for IterableProperty (cla: yes, framework, ☸ platform-web) +[37515](https://github.com/flutter/flutter/pull/37515) Upstream web support for `IterableProperty` (cla: yes, framework, ☸ platform-web) [37516](https://github.com/flutter/flutter/pull/37516) Kill stale TODO (a: tests, cla: yes, framework, team) diff --git a/sites/docs/src/content/release/release-notes/release-notes-1.17.0.md b/sites/docs/src/content/release/release-notes/release-notes-1.17.0.md index 3696397aa34..36152077933 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-1.17.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-1.17.0.md @@ -1861,7 +1861,7 @@ skipTemplateRendering: true [57487](https://github.com/flutter/flutter/pull/57487) Fix typo in cupertino datepicker error (cla: yes, f: cupertino, framework, waiting for tree to go green) -[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type State (cla: yes, f: material design, framework, waiting for tree to go green) +[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type `State` (cla: yes, f: material design, framework, waiting for tree to go green) [57511](https://github.com/flutter/flutter/pull/57511) Step 2 of 3: Change opt-in default for debugCheckHasMaterialLocalizations assertion on TextField (a: internationalization, a: text input, cla: yes, f: material design, framework, team, waiting for tree to go green) @@ -2206,7 +2206,7 @@ skipTemplateRendering: true [59310](https://github.com/flutter/flutter/pull/59310) Dismiss modal routes with a keyboard shortcut (cla: yes, f: material design, framework, waiting for tree to go green) -[59317](https://github.com/flutter/flutter/pull/59317) Implement Comparable (cla: yes, f: material design, framework, waiting for tree to go green) +[59317](https://github.com/flutter/flutter/pull/59317) Implement `Comparable` (cla: yes, f: material design, framework, waiting for tree to go green) [59342](https://github.com/flutter/flutter/pull/59342) Add support for horizontal and vertical double-arrow system cursors (cla: yes, framework, waiting for tree to go green) @@ -2341,7 +2341,7 @@ skipTemplateRendering: true [59966](https://github.com/flutter/flutter/pull/59966) Added a filterQuality parameter to texture (a: quality, a: video, cla: yes, framework, waiting for tree to go green) -[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement Comparable" (cla: yes, f: material design, framework) +[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement `Comparable`" (cla: yes, f: material design, framework) [59982](https://github.com/flutter/flutter/pull/59982) [flutter_driver] Fix tracing of startup events (a: tests, cla: yes, framework) @@ -3671,7 +3671,7 @@ skipTemplateRendering: true [57332](https://github.com/flutter/flutter/pull/57332) Add autofill support for TextFormField (cla: yes, f: material design, framework, waiting for tree to go green) -[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type State (cla: yes, f: material design, framework, waiting for tree to go green) +[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type `State` (cla: yes, f: material design, framework, waiting for tree to go green) [57511](https://github.com/flutter/flutter/pull/57511) Step 2 of 3: Change opt-in default for debugCheckHasMaterialLocalizations assertion on TextField (a: internationalization, a: text input, cla: yes, f: material design, framework, team, waiting for tree to go green) @@ -3848,7 +3848,7 @@ skipTemplateRendering: true [59310](https://github.com/flutter/flutter/pull/59310) Dismiss modal routes with a keyboard shortcut (cla: yes, f: material design, framework, waiting for tree to go green) -[59317](https://github.com/flutter/flutter/pull/59317) Implement Comparable (cla: yes, f: material design, framework, waiting for tree to go green) +[59317](https://github.com/flutter/flutter/pull/59317) Implement `Comparable` (cla: yes, f: material design, framework, waiting for tree to go green) [59363](https://github.com/flutter/flutter/pull/59363) Add material state mouse cursor to TextField (a: text input, cla: yes, customer: octopod, f: material design, framework, waiting for tree to go green) @@ -3905,7 +3905,7 @@ skipTemplateRendering: true [59937](https://github.com/flutter/flutter/pull/59937) Update tooltip_theme_test to unblock Dart SDK roll (cla: yes, f: material design, framework, waiting for tree to go green) -[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement Comparable" (cla: yes, f: material design, framework) +[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement `Comparable`" (cla: yes, f: material design, framework) [59992](https://github.com/flutter/flutter/pull/59992) Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once" (cla: yes, f: material design, framework) @@ -7081,7 +7081,7 @@ There were 1526 pull requests. [48472](https://github.com/flutter/flutter/pull/48472) Test hot reload targeting a Fuchsia device (cla: yes, d: examples, platform-fuchsia, team, tool, waiting for tree to go green) -[48482](https://github.com/flutter/flutter/pull/48482) use isA() matcher (a: accessibility, a: internationalization, a: tests, cla: yes, f: cupertino, f: material design, framework, team, tool, waiting for tree to go green) +[48482](https://github.com/flutter/flutter/pull/48482) use `isA()` matcher (a: accessibility, a: internationalization, a: tests, cla: yes, f: cupertino, f: material design, framework, team, tool, waiting for tree to go green) [48486](https://github.com/flutter/flutter/pull/48486) Add highContrast to FakeAccessibilityFeatures test (a: accessibility, a: tests, cla: yes, framework, platform-ios, waiting for tree to go green) @@ -9201,7 +9201,7 @@ There were 1526 pull requests. [53799](https://github.com/flutter/flutter/pull/53799) Add LICENSE file to packages/flutter, add test to make sure it's picked up. (a: build, cla: yes, team) -[53834](https://github.com/flutter/flutter/pull/53834) Replace isInstanceOf uses with isA (cla: yes, framework) +[53834](https://github.com/flutter/flutter/pull/53834) Replace `isInstanceOf` uses with `isA` (cla: yes, framework) [53838](https://github.com/flutter/flutter/pull/53838) Roll engine 46277fd2ca54..1adfd639b465 (23 commits) (cla: yes, waiting for tree to go green) @@ -10607,7 +10607,7 @@ There were 1421 pull requests. [16440](https://github.com/flutter/engine/pull/16440) fix bad reference to maxDiffRatePercent (cla: yes) -[16442](https://github.com/flutter/engine/pull/16442) Include in hb_wrapper.h because unique_ptr is used. (cla: yes) +[16442](https://github.com/flutter/engine/pull/16442) Include `` in hb_wrapper.h because unique_ptr is used. (cla: yes) [16446](https://github.com/flutter/engine/pull/16446) Relax timing restrictions on WakeUpTimersAreSingletons. (cla: yes) @@ -11317,7 +11317,7 @@ There were 1421 pull requests. [16925](https://github.com/flutter/engine/pull/16925) Roll fuchsia/sdk/core/mac-amd64 from VQHsS... to 8HrJn... (cla: yes, waiting for tree to go green) -[16928](https://github.com/flutter/engine/pull/16928) Make GetDefaultFontFamilies return a vector instead of a string. (cla: yes) +[16928](https://github.com/flutter/engine/pull/16928) Make GetDefaultFontFamilies return a `vector` instead of a string. (cla: yes) [16930](https://github.com/flutter/engine/pull/16930) [web] Engine integration test (cla: yes, platform-web) diff --git a/sites/docs/src/content/release/release-notes/release-notes-1.20.0.md b/sites/docs/src/content/release/release-notes/release-notes-1.20.0.md index 90fa5e615ba..f4723d504dc 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-1.20.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-1.20.0.md @@ -1861,7 +1861,7 @@ skipTemplateRendering: true [57487](https://github.com/flutter/flutter/pull/57487) Fix typo in cupertino datepicker error (cla: yes, f: cupertino, framework, waiting for tree to go green) -[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type State (cla: yes, f: material design, framework, waiting for tree to go green) +[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type `State` (cla: yes, f: material design, framework, waiting for tree to go green) [57511](https://github.com/flutter/flutter/pull/57511) Step 2 of 3: Change opt-in default for debugCheckHasMaterialLocalizations assertion on TextField (a: internationalization, a: text input, cla: yes, f: material design, framework, team, waiting for tree to go green) @@ -2206,7 +2206,7 @@ skipTemplateRendering: true [59310](https://github.com/flutter/flutter/pull/59310) Dismiss modal routes with a keyboard shortcut (cla: yes, f: material design, framework, waiting for tree to go green) -[59317](https://github.com/flutter/flutter/pull/59317) Implement Comparable (cla: yes, f: material design, framework, waiting for tree to go green) +[59317](https://github.com/flutter/flutter/pull/59317) Implement `Comparable` (cla: yes, f: material design, framework, waiting for tree to go green) [59342](https://github.com/flutter/flutter/pull/59342) Add support for horizontal and vertical double-arrow system cursors (cla: yes, framework, waiting for tree to go green) @@ -2341,7 +2341,7 @@ skipTemplateRendering: true [59966](https://github.com/flutter/flutter/pull/59966) Added a filterQuality parameter to texture (a: quality, a: video, cla: yes, framework, waiting for tree to go green) -[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement Comparable" (cla: yes, f: material design, framework) +[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement `Comparable`" (cla: yes, f: material design, framework) [59982](https://github.com/flutter/flutter/pull/59982) [flutter_driver] Fix tracing of startup events (a: tests, cla: yes, framework) @@ -3671,7 +3671,7 @@ skipTemplateRendering: true [57332](https://github.com/flutter/flutter/pull/57332) Add autofill support for TextFormField (cla: yes, f: material design, framework, waiting for tree to go green) -[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type State (cla: yes, f: material design, framework, waiting for tree to go green) +[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type `State` (cla: yes, f: material design, framework, waiting for tree to go green) [57511](https://github.com/flutter/flutter/pull/57511) Step 2 of 3: Change opt-in default for debugCheckHasMaterialLocalizations assertion on TextField (a: internationalization, a: text input, cla: yes, f: material design, framework, team, waiting for tree to go green) @@ -3848,7 +3848,7 @@ skipTemplateRendering: true [59310](https://github.com/flutter/flutter/pull/59310) Dismiss modal routes with a keyboard shortcut (cla: yes, f: material design, framework, waiting for tree to go green) -[59317](https://github.com/flutter/flutter/pull/59317) Implement Comparable (cla: yes, f: material design, framework, waiting for tree to go green) +[59317](https://github.com/flutter/flutter/pull/59317) Implement `Comparable` (cla: yes, f: material design, framework, waiting for tree to go green) [59363](https://github.com/flutter/flutter/pull/59363) Add material state mouse cursor to TextField (a: text input, cla: yes, customer: octopod, f: material design, framework, waiting for tree to go green) @@ -3905,7 +3905,7 @@ skipTemplateRendering: true [59937](https://github.com/flutter/flutter/pull/59937) Update tooltip_theme_test to unblock Dart SDK roll (cla: yes, f: material design, framework, waiting for tree to go green) -[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement Comparable" (cla: yes, f: material design, framework) +[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement `Comparable`" (cla: yes, f: material design, framework) [59992](https://github.com/flutter/flutter/pull/59992) Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once" (cla: yes, f: material design, framework) @@ -7475,7 +7475,7 @@ There were 1243 pull requests. [57499](https://github.com/flutter/flutter/pull/57499) Roll engine aafd9f72283f..90f45bd3efce (4 commits) (cla: yes, waiting for tree to go green) -[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type State (cla: yes, f: material design, framework, waiting for tree to go green) +[57500](https://github.com/flutter/flutter/pull/57500) SnackBarAction.createState() should have return type `State` (cla: yes, f: material design, framework, waiting for tree to go green) [57506](https://github.com/flutter/flutter/pull/57506) [flutter_tools] chunk the hashing of large files (cla: yes, tool, waiting for tree to go green) @@ -8089,7 +8089,7 @@ There were 1243 pull requests. [59310](https://github.com/flutter/flutter/pull/59310) Dismiss modal routes with a keyboard shortcut (cla: yes, f: material design, framework, waiting for tree to go green) -[59317](https://github.com/flutter/flutter/pull/59317) Implement Comparable (cla: yes, f: material design, framework, waiting for tree to go green) +[59317](https://github.com/flutter/flutter/pull/59317) Implement `Comparable` (cla: yes, f: material design, framework, waiting for tree to go green) [59334](https://github.com/flutter/flutter/pull/59334) Revert "Roll Engine from 965fbbed1776 to d417772d7acd (21 revisions)" (cla: yes, engine) @@ -8277,7 +8277,7 @@ There were 1243 pull requests. [59966](https://github.com/flutter/flutter/pull/59966) Added a filterQuality parameter to texture (a: quality, a: video, cla: yes, framework, waiting for tree to go green) -[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement Comparable" (cla: yes, f: material design, framework) +[59981](https://github.com/flutter/flutter/pull/59981) Revert "Implement `Comparable`" (cla: yes, f: material design, framework) [59982](https://github.com/flutter/flutter/pull/59982) [flutter_driver] Fix tracing of startup events (a: tests, cla: yes, framework) diff --git a/sites/docs/src/content/release/release-notes/release-notes-1.22.0.md b/sites/docs/src/content/release/release-notes/release-notes-1.22.0.md index a7739559f95..ab4b0a99166 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-1.22.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-1.22.0.md @@ -7919,7 +7919,7 @@ There were 959 pull requests. [21061](https://github.com/flutter/engine/pull/21061) Remove the type parameter from `SkObjectFinalizationRegistry`. (cla: yes, waiting for tree to go green) -[21069](https://github.com/flutter/engine/pull/21069) Add missing header (cla: yes) +[21069](https://github.com/flutter/engine/pull/21069) Add missing `` header (cla: yes) [21075](https://github.com/flutter/engine/pull/21075) Disable a flaky Scenarios test (cla: yes) diff --git a/sites/docs/src/content/release/release-notes/release-notes-1.9.1.md b/sites/docs/src/content/release/release-notes/release-notes-1.9.1.md index d069a1a81b3..feabb4664d2 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-1.9.1.md +++ b/sites/docs/src/content/release/release-notes/release-notes-1.9.1.md @@ -516,7 +516,7 @@ The core framework for Flutter saw several important features in this release, i [35143](https://github.com/flutter/flutter/pull/35143) More HttpClientResponse Uint8List fixes -[35149](https://github.com/flutter/flutter/pull/35149) More HttpClientResponse implements Stream fixes +[35149](https://github.com/flutter/flutter/pull/35149) More `HttpClientResponse implements Stream` fixes [35232](https://github.com/flutter/flutter/pull/35232) New benchmark: Gesture semantics diff --git a/sites/docs/src/content/release/release-notes/release-notes-2.0.0.md b/sites/docs/src/content/release/release-notes/release-notes-2.0.0.md index b92908d5a27..7baf44a57ea 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-2.0.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-2.0.0.md @@ -413,7 +413,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [66504](https://github.com/flutter/flutter/pull/66504) Re-land ScaffoldMessenger (a: quality, cla: yes, customer: money (g3), f: material design, framework, severe: new feature, waiting for tree to go green) -[66506](https://github.com/flutter/flutter/pull/66506) Allow futures that resolve to null (incl. Future) in Future/StreamBuilder (cla: yes, framework) +[66506](https://github.com/flutter/flutter/pull/66506) Allow futures that resolve to null (incl. `Future`) in Future/StreamBuilder (cla: yes, framework) [66508](https://github.com/flutter/flutter/pull/66508) [Docs] [Material] Fix Icons api docs (cla: yes, f: material design, framework, team) @@ -9693,7 +9693,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [21172](https://github.com/flutter/engine/pull/21172) Roll Skia from 2bc4077c9e42 to aecd484d03d7 (2 revisions) (cla: yes, waiting for tree to go green) -[21176](https://github.com/flutter/engine/pull/21176) Add missing header for (strcmp, strrchr) (cla: yes) +[21176](https://github.com/flutter/engine/pull/21176) Add missing `` header for (strcmp, strrchr) (cla: yes) [21178](https://github.com/flutter/engine/pull/21178) Roll Skia from aecd484d03d7 to 22aa7d791515 (5 revisions) (cla: yes, waiting for tree to go green) @@ -13383,7 +13383,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [23099](https://github.com/flutter/engine/pull/23099) Roll Skia from f2876b0b9e4a to 2078cbe3d4d9 (1 revision) (cla: yes, waiting for tree to go green) -[23101](https://github.com/flutter/engine/pull/23101) Return null in Future.catchError handler (cla: yes, platform-web) +[23101](https://github.com/flutter/engine/pull/23101) Return null in `Future`.catchError handler (cla: yes, platform-web) [23102](https://github.com/flutter/engine/pull/23102) removed variable-sized array (cla: yes) @@ -13953,7 +13953,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [23429](https://github.com/flutter/engine/pull/23429) Use syslog for logging on Fuchsia (cla: yes, platform-fuchsia) -[23430](https://github.com/flutter/engine/pull/23430) Add flt-renderer and flt-build-mode debug attributes to (cla: yes, platform-web) +[23430](https://github.com/flutter/engine/pull/23430) Add flt-renderer and flt-build-mode debug attributes to `` (cla: yes, platform-web) [23431](https://github.com/flutter/engine/pull/23431) Roll Skia from 6356cb1904b8 to 2833b08efbe6 (6 revisions) (cla: yes, waiting for tree to go green) @@ -19754,7 +19754,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [23098](https://github.com/flutter/engine/pull/23098) [web] Rich paragraph getBoxesForRange (cla: yes, platform-web) -[23101](https://github.com/flutter/engine/pull/23101) Return null in Future.catchError handler (cla: yes, platform-web) +[23101](https://github.com/flutter/engine/pull/23101) Return null in `Future`.catchError handler (cla: yes, platform-web) [23133](https://github.com/flutter/engine/pull/23133) [web] Rich paragraph getPositionForOffset (cla: yes, platform-web) @@ -19772,7 +19772,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [23348](https://github.com/flutter/engine/pull/23348) Roll CanvasKit to 0.22 (cla: yes, platform-web) -[23430](https://github.com/flutter/engine/pull/23430) Add flt-renderer and flt-build-mode debug attributes to (cla: yes, platform-web) +[23430](https://github.com/flutter/engine/pull/23430) Add flt-renderer and flt-build-mode debug attributes to `` (cla: yes, platform-web) [23470](https://github.com/flutter/engine/pull/23470) [web] Draw shadows for text in rich paragraphs (cla: yes, platform-web) @@ -21696,7 +21696,7 @@ There were 1974 pull requests. [66505](https://github.com/flutter/flutter/pull/66505) Roll Engine from dd35b5b65917 to b0fb2c8a988f (2 revisions) (cla: yes, waiting for tree to go green) -[66506](https://github.com/flutter/flutter/pull/66506) Allow futures that resolve to null (incl. Future) in Future/StreamBuilder (cla: yes, framework) +[66506](https://github.com/flutter/flutter/pull/66506) Allow futures that resolve to null (incl. `Future`) in Future/StreamBuilder (cla: yes, framework) [66507](https://github.com/flutter/flutter/pull/66507) [flutter_tools] enable single widget reload optimization by default on master (cla: yes, tool, waiting for tree to go green) @@ -25319,7 +25319,7 @@ There were 1864 pull requests. [21172](https://github.com/flutter/engine/pull/21172) Roll Skia from 2bc4077c9e42 to aecd484d03d7 (2 revisions) (cla: yes, waiting for tree to go green) -[21176](https://github.com/flutter/engine/pull/21176) Add missing header for (strcmp, strrchr) (cla: yes) +[21176](https://github.com/flutter/engine/pull/21176) Add missing `` header for (strcmp, strrchr) (cla: yes) [21178](https://github.com/flutter/engine/pull/21178) Roll Skia from aecd484d03d7 to 22aa7d791515 (5 revisions) (cla: yes, waiting for tree to go green) @@ -27779,7 +27779,7 @@ There were 1864 pull requests. [23099](https://github.com/flutter/engine/pull/23099) Roll Skia from f2876b0b9e4a to 2078cbe3d4d9 (1 revision) (cla: yes, waiting for tree to go green) -[23101](https://github.com/flutter/engine/pull/23101) Return null in Future.catchError handler (cla: yes, platform-web) +[23101](https://github.com/flutter/engine/pull/23101) Return null in `Future`.catchError handler (cla: yes, platform-web) [23102](https://github.com/flutter/engine/pull/23102) removed variable-sized array (cla: yes) @@ -28159,7 +28159,7 @@ There were 1864 pull requests. [23429](https://github.com/flutter/engine/pull/23429) Use syslog for logging on Fuchsia (cla: yes, platform-fuchsia) -[23430](https://github.com/flutter/engine/pull/23430) Add flt-renderer and flt-build-mode debug attributes to (cla: yes, platform-web) +[23430](https://github.com/flutter/engine/pull/23430) Add flt-renderer and flt-build-mode debug attributes to `` (cla: yes, platform-web) [23431](https://github.com/flutter/engine/pull/23431) Roll Skia from 6356cb1904b8 to 2833b08efbe6 (6 revisions) (cla: yes, waiting for tree to go green) diff --git a/sites/docs/src/content/release/release-notes/release-notes-2.2.0.md b/sites/docs/src/content/release/release-notes/release-notes-2.2.0.md index 0763d94e89d..63c22a1e0df 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-2.2.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-2.2.0.md @@ -704,7 +704,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [77497](https://github.com/flutter/flutter/pull/77497) Update ClampingScrollSimulation to better match Android (cla: yes, framework, waiting for tree to go green) -[77606](https://github.com/flutter/flutter/pull/77606) [Docs] RouteObserver cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) +[77606](https://github.com/flutter/flutter/pull/77606) [Docs] `RouteObserver` cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) [77608](https://github.com/flutter/flutter/pull/77608) Provide caret rect to text input plugin (cla: yes, framework, waiting for tree to go green) @@ -4653,7 +4653,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [77327](https://github.com/flutter/flutter/pull/77327) Fix typo (cla: yes, d: examples, team) -[77606](https://github.com/flutter/flutter/pull/77606) [Docs] RouteObserver cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) +[77606](https://github.com/flutter/flutter/pull/77606) [Docs] `RouteObserver` cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) [77868](https://github.com/flutter/flutter/pull/77868) Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) @@ -4871,7 +4871,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [77107](https://github.com/flutter/flutter/pull/77107) Improve error messaging and documentation for Scrollbar.isAlwaysShown (a: error message, cla: yes, d: api docs, d: examples, documentation, f: scrolling, framework, waiting for tree to go green) -[77606](https://github.com/flutter/flutter/pull/77606) [Docs] RouteObserver cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) +[77606](https://github.com/flutter/flutter/pull/77606) [Docs] `RouteObserver` cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) [77793](https://github.com/flutter/flutter/pull/77793) [FloatingActionButtonLocation] Add spacing between placement entries in documentation (cla: yes, d: api docs, documentation, f: material design, framework, waiting for tree to go green) @@ -4950,7 +4950,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [77107](https://github.com/flutter/flutter/pull/77107) Improve error messaging and documentation for Scrollbar.isAlwaysShown (a: error message, cla: yes, d: api docs, d: examples, documentation, f: scrolling, framework, waiting for tree to go green) -[77606](https://github.com/flutter/flutter/pull/77606) [Docs] RouteObserver cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) +[77606](https://github.com/flutter/flutter/pull/77606) [Docs] `RouteObserver` cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) [77793](https://github.com/flutter/flutter/pull/77793) [FloatingActionButtonLocation] Add spacing between placement entries in documentation (cla: yes, d: api docs, documentation, f: material design, framework, waiting for tree to go green) @@ -15621,7 +15621,7 @@ There were 1197 pull requests. [77566](https://github.com/flutter/flutter/pull/77566) Increase timeouts to fix build integration timeout flakes (cla: yes, tool) -[77606](https://github.com/flutter/flutter/pull/77606) [Docs] RouteObserver cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) +[77606](https://github.com/flutter/flutter/pull/77606) [Docs] `RouteObserver` cannot subscribe ModalRoute (cla: yes, d: api docs, d: examples, documentation, framework, waiting for tree to go green) [77608](https://github.com/flutter/flutter/pull/77608) Provide caret rect to text input plugin (cla: yes, framework, waiting for tree to go green) diff --git a/sites/docs/src/content/release/release-notes/release-notes-2.5.0.md b/sites/docs/src/content/release/release-notes/release-notes-2.5.0.md index a5035a10f75..6f77c203fb0 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-2.5.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-2.5.0.md @@ -692,7 +692,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [82327](https://github.com/flutter/flutter/pull/82327) update the DragStartBehavior documetations (framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) -[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of throwsA(isA()) (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) +[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of `throwsA(isA())` (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) [82337](https://github.com/flutter/flutter/pull/82337) Revert "Init licenses for test bindings (#81961)" (a: tests, team, tool, framework, cla: yes, waiting for tree to go green) @@ -3543,7 +3543,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [82309](https://github.com/flutter/flutter/pull/82309) [flutter_tool] Suggest fix for transform input (tool, cla: yes, waiting for tree to go green) -[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of throwsA(isA()) (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) +[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of `throwsA(isA())` (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) [82337](https://github.com/flutter/flutter/pull/82337) Revert "Init licenses for test bindings (#81961)" (a: tests, team, tool, framework, cla: yes, waiting for tree to go green) @@ -4616,7 +4616,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [82327](https://github.com/flutter/flutter/pull/82327) update the DragStartBehavior documetations (framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) -[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of throwsA(isA()) (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) +[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of `throwsA(isA())` (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) [82340](https://github.com/flutter/flutter/pull/82340) change the elevation of dropdown from int to double (framework, f: material design, cla: yes) @@ -5155,7 +5155,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [82308](https://github.com/flutter/flutter/pull/82308) Force LANG=en_US.UTF-8 in test runner (a: tests, team, cla: yes, waiting for tree to go green) -[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of throwsA(isA()) (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) +[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of `throwsA(isA())` (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) [82337](https://github.com/flutter/flutter/pull/82337) Revert "Init licenses for test bindings (#81961)" (a: tests, team, tool, framework, cla: yes, waiting for tree to go green) @@ -5466,7 +5466,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [82327](https://github.com/flutter/flutter/pull/82327) update the DragStartBehavior documetations (framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) -[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of throwsA(isA()) (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) +[82328](https://github.com/flutter/flutter/pull/82328) use throwsXxx instead of `throwsA(isA())` (a: tests, tool, framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) [82387](https://github.com/flutter/flutter/pull/82387) first part of applying sort_child_properties_last (framework, f: material design, cla: yes, f: cupertino, waiting for tree to go green) diff --git a/sites/docs/src/content/release/release-notes/release-notes-2.8.0.md b/sites/docs/src/content/release/release-notes/release-notes-2.8.0.md index af668a90809..ccee6f12bec 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-2.8.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-2.8.0.md @@ -13079,7 +13079,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [29304](https://github.com/flutter/engine/pull/29304) Roll Skia from 05ac1b86adbb to 8dd1f50a65fd (26 revisions) (cla: yes, waiting for tree to go green) -[29305](https://github.com/flutter/engine/pull/29305) [fuchsia] fidl::InterfaceHandle -> THandle. (cla: yes, platform-fuchsia) +[29305](https://github.com/flutter/engine/pull/29305) [fuchsia] `fidl::InterfaceHandle` -> THandle. (cla: yes, platform-fuchsia) [29306](https://github.com/flutter/engine/pull/29306) Roll Skia from 8dd1f50a65fd to d8e8681c98c6 (1 revision) (cla: yes, waiting for tree to go green) @@ -16661,7 +16661,7 @@ For information about subsequent bug-fix releases, see our [CHANGELOG][] [29290](https://github.com/flutter/engine/pull/29290) [fuchsia] Add missing protocols to V2 runner. (cla: yes, waiting for tree to go green, platform-fuchsia) -[29305](https://github.com/flutter/engine/pull/29305) [fuchsia] fidl::InterfaceHandle -> THandle. (cla: yes, platform-fuchsia) +[29305](https://github.com/flutter/engine/pull/29305) [fuchsia] `fidl::InterfaceHandle` -> THandle. (cla: yes, platform-fuchsia) [29313](https://github.com/flutter/engine/pull/29313) Bump ICU to ece15d049f2d360721716089372e3749fb89e0f4 (cla: yes, platform-fuchsia) diff --git a/sites/docs/src/content/release/release-notes/release-notes-3.19.0.md b/sites/docs/src/content/release/release-notes/release-notes-3.19.0.md index b8c4c1f3d4a..1144184ce4c 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-3.19.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-3.19.0.md @@ -824,7 +824,7 @@ see our [CHANGELOG][]. * OpenGL <4.x does not support stencil-only formats, so delete the TODO by @matanlurey in [47286](https://github.com/flutter/engine/pull/47286) * [Impeller] Update shader compilation pipeline documentation to detail multi-arch archives. by @chinmaygarde in [47289](https://github.com/flutter/engine/pull/47289) * Adds lint for checking argument commments by @gaaclarke in [47305](https://github.com/flutter/engine/pull/47305) -* [Impeller] Remove use of FML_DISALLOW_ macros in Impeller. by @chinmaygarde in [47307](https://github.com/flutter/engine/pull/47307) +* [Impeller] Remove use of `FML_DISALLOW_` macros in Impeller. by @chinmaygarde in [47307](https://github.com/flutter/engine/pull/47307) * Missed linter argument comment violations by @gaaclarke in [47310](https://github.com/flutter/engine/pull/47310) * Cleanup Dart package dependencies a bit by @zanderso in [47306](https://github.com/flutter/engine/pull/47306) * [Impeller] Cache location in metadata. by @jonahwilliams in [46640](https://github.com/flutter/engine/pull/46640) diff --git a/sites/docs/src/content/release/release-notes/release-notes-3.24.0.md b/sites/docs/src/content/release/release-notes/release-notes-3.24.0.md index 5d2257cb15b..fa6def45bd1 100644 --- a/sites/docs/src/content/release/release-notes/release-notes-3.24.0.md +++ b/sites/docs/src/content/release/release-notes/release-notes-3.24.0.md @@ -148,7 +148,7 @@ check out the Flutter [CHANGELOG][]. * Maintain the same layout constraints for item in the ReorderableList during dragging as before dragging. by @yiiim in [147863](https://github.com/flutter/flutter/pull/147863) * Fix abi key for local golden file testing by @Piinks in [148072](https://github.com/flutter/flutter/pull/148072) * Reland Native ios context menu (#143002) (#148238) by @justinmc in [148265](https://github.com/flutter/flutter/pull/148265) -* Update _handlePushRouteInformation to Future to indicate whether any of the observer has handled the route or not by @hangyujin in [147901](https://github.com/flutter/flutter/pull/147901) +* Update _handlePushRouteInformation to `Future` to indicate whether any of the observer has handled the route or not by @hangyujin in [147901](https://github.com/flutter/flutter/pull/147901) * Fix leaky tests. by @polina-c in [148434](https://github.com/flutter/flutter/pull/148434) * Enhanced enum features for `AnimationStatus` by @nate-thegrate in [147801](https://github.com/flutter/flutter/pull/147801) * Add tests for scaffold.of.#.dart API examples. by @ksokolovskyi in [147637](https://github.com/flutter/flutter/pull/147637) diff --git a/sites/docs/src/content/testing/testing-plugins.md b/sites/docs/src/content/testing/testing-plugins.md index f41144d1dd6..e7326c3a9d1 100644 --- a/sites/docs/src/content/testing/testing-plugins.md +++ b/sites/docs/src/content/testing/testing-plugins.md @@ -25,7 +25,7 @@ To see examples of each of these types of tests, you can [create a new plugin from the plugin template][plugin-tests] and look in the indicated directories. -* Dart [unit tests][] and [widget tests][]. +* **Dart [unit tests][] and [widget tests][]**. These tests allow you to test the Dart portion of your plugin just as you would test the Dart code of a non-plugin package. However, the plugin's native code [won't be loaded][], @@ -33,7 +33,7 @@ and look in the indicated directories. See the `test` directory for an example. -* Dart [integration tests][]. +* **Dart [integration tests][]**. Since integration tests run in the context of a Flutter application (the example app), they can test both the Dart and native code, @@ -49,7 +49,7 @@ and look in the indicated directories. See the `example/integration_test` directory for an example. -* Native unit tests. +* **Native unit tests.** Just as Dart unit tests can test the Dart portions of a plugin in isolation, native unit tests can test the native parts in isolation. @@ -65,22 +65,22 @@ and look in the indicated directories. you are familiar with for each platform, but the following are already configured in the plugin template: - * Android: + * **Android**: [JUnit][] tests can be found in `android/src/test/`. - * iOS and macOS: + * **iOS** and **macOS**: [XCTest][] tests can be found in `example/ios/RunnerTests/` and `example/macos/RunnerTests/` respectively. These are in the example directory, not the top-level package directory, because they are run via the example app's project. - * Linux and Windows: + * **Linux** and **Windows**: [GoogleTest][] tests can be found in `linux/test/` and `windows/test/`, respectively. Other types of tests, which aren't currently pre-configured -in the template, are native UI tests. +in the template, are **native UI tests**. Running your application under a native UI testing framework, such as [Espresso][] or [XCUITest][], enables tests that interact with both native and Flutter UI elements, @@ -123,7 +123,7 @@ application at least once before running the unit tests, to ensure that all of the platform-specific build files have been created. -Android JUnit
      +**Android JUnit**
      If you have the example opened as an Android project in Android Studio, you can run the unit tests using @@ -136,7 +136,7 @@ use the following command in the `example/android` directory: ./gradlew testDebugUnitTest ``` -iOS and macOS XCTest
      +**iOS and macOS XCTest**
      If you have the example app opened in Xcode, you can run the unit tests using the [Xcode Test UI][]. @@ -152,7 +152,7 @@ xcodebuild test -workspace Runner.xcworkspace -scheme Runner -configuration Debu For iOS tests, you might need to first open `Runner.xcworkspace` in Xcode to configure code signing. -Linux GoogleTest
      +**Linux GoogleTest**
      To run the tests from the command line, use the following command in the example directory, @@ -165,7 +165,7 @@ build/linux/plugins/x64/debug/my_plugin/my_plugin_test If you built the example app in release mode rather than debug, replace "debug" with "release". -Windows GoogleTest
      +**Windows GoogleTest**
      If you have the example app opened in Visual Studio, you can run the unit tests using the [Visual Studio test UI][].