Unverified Commit c7ebb2b7 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Trivial typo fixes to snippets documentation (#63436)

parent 714dd2fe
...@@ -19,7 +19,7 @@ in the source code into API documentation, as seen on https://api.flutter.dev/. ...@@ -19,7 +19,7 @@ in the source code into API documentation, as seen on https://api.flutter.dev/.
There are three kinds of code blocks. There are three kinds of code blocks.
* A `snippet`, which is a more or less context-free code snippet that we * A `snippet`, which is a more or less context-free code snippet that we
magically determine how to analyze, and magically determine how to analyze.
* A `dartpad` sample, which gets placed into a full-fledged application, and can * A `dartpad` sample, which gets placed into a full-fledged application, and can
be executed inline in the documentation on the web page using be executed inline in the documentation on the web page using
...@@ -176,7 +176,7 @@ code blocks and descriptions are interpolated. ...@@ -176,7 +176,7 @@ code blocks and descriptions are interpolated.
There is currently one skeleton for There is currently one skeleton for
[application](config/skeletons/sample.html) samples, one for [application](config/skeletons/sample.html) samples, one for
[dartpad](config/skeletons/dartpad-sample.html) and one for [dartpad](config/skeletons/dartpad-sample.html), and one for
[snippet](config/skeletons/snippet.html) code samples, but there could be more. [snippet](config/skeletons/snippet.html) code samples, but there could be more.
Skeletons use mustache notation (e.g. `{{code}}`) to mark where components will Skeletons use mustache notation (e.g. `{{code}}`) to mark where components will
...@@ -235,4 +235,4 @@ For example, the file `sample.src.widgets.animated_list.52.dart` points to the s ...@@ -235,4 +235,4 @@ For example, the file `sample.src.widgets.animated_list.52.dart` points to the s
in `packages/flutter/src/widgets/animated_list.dart` at line 52. You can then take the in `packages/flutter/src/widgets/animated_list.dart` at line 52. You can then take the
contents of that file, and paste it into [Dartpad](https://dartpad.dev) and see if it contents of that file, and paste it into [Dartpad](https://dartpad.dev) and see if it
works. If the sample relies on new features that have just landed, it may not work works. If the sample relies on new features that have just landed, it may not work
until the features make it into the `dev` branch. until the features make it into the `dev` branch.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment