Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
c7ebb2b7
Unverified
Commit
c7ebb2b7
authored
Aug 21, 2020
by
Ian Hickson
Committed by
GitHub
Aug 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial typo fixes to snippets documentation (#63436)
parent
714dd2fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
dev/snippets/README.md
+3
-3
No files found.
dev/snippets/README.md
View file @
c7ebb2b7
...
...
@@ -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.
*
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
be executed inline in the documentation on the web page using
...
...
@@ -176,7 +176,7 @@ code blocks and descriptions are interpolated.
There is currently one skeleton 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.
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
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
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.
\ No newline at end of file
until the features make it into the
`dev`
branch.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment