Skip to content

Commit e5009e8

Browse files
author
Hans Muller
authored
Updated sample catalog templates and app summaries (flutter#11052)
1 parent a48fd13 commit e5009e8

File tree

7 files changed

+16
-5
lines changed

7 files changed

+16
-5
lines changed

examples/catalog/bin/entry.md.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,11 @@
88
<p>
99
@(summary)
1010
</p>
11+
<p>
12+
This app features the following classes: @(classes).
13+
</p>
14+
<p>
15+
<a href="/catalog/samples/@(link)/">Learn more</a>.
16+
</p>
1117
</div>
1218
</div>

examples/catalog/bin/index.md.template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ title: "Sample App Catalog"
44
permalink: /catalog/samples/
55
---
66

7-
Complete applications that demonstrate how to get things done with Flutter. Each sample app features a few classes or an animation, a layout, or other feature of Flutter. The samples are short, just one file and usually only one or two pages of code. They should easy to try out with your favorite IDE.
7+
This catalog lists applications that demonstrate how to implement common mobile design patterns with Flutter. Each sample demonstrates how a few Flutter widgets can be put together to implement a meaningful user interface. The samples are short - just one Dart file - but they're complete applications. They should be easy to try out and tweak with your favorite IDE/code editor.
8+
9+
If there are other sample apps that you'd like to see we'd appreciate hearing from you on our [Gitter channel](https://gitter.im/flutter/flutter) or [mailing list](https://groups.google.com/d/forum/flutter-dev).
810

911
<div class="container-fluid">
1012
@(entries)

examples/catalog/lib/animated_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Sample Catalog
205205
206206
Title: AnimatedList
207207
208-
Summary: An AnimatedList that displays a list of cards which stay
208+
Summary: An AnimatedList for displaying a list of cards that stay
209209
in sync with an app-specific ListModel. When an item is added to or removed
210210
from the model, the corresponding card animates in or out of view.
211211

examples/catalog/lib/app_bar_bottom.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ Sample Catalog
123123
124124
Title: AppBar with a custom bottom widget.
125125
126+
Summary: An AppBar that includes a bottom widget. Any widget
127+
with a PreferredSize can appear at the bottom of an AppBar.
128+
126129
Summary: Any widget with a PreferredSize can appear at the bottom of an AppBar.
127130
128131
Description:

examples/catalog/lib/basic_app_bar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Sample Catalog
104104
105105
Title: AppBar Basics
106106
107-
Summary: A typcial AppBar with a title, actions, and an overflow dropdown menu.
107+
Summary: A basic AppBar with a title, actions, and an overflow dropdown menu.
108108
109109
Description:
110110
An app that displays one of a half dozen choices with an icon and a title.

examples/catalog/lib/expansion_tile_sample.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Sample Catalog
9797
9898
Title: ExpansionTile
9999
100-
Summary: ExpansionTiles can used to produce two-level or multi-level lists.
100+
Summary: An ExpansionTile for building nested lists, with two or more levels.
101101
102102
Description:
103103
This app displays hierarchical data with ExpansionTiles. Tapping a tile

examples/catalog/lib/tabbed_app_bar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Sample Catalog
8585
8686
Title: Tabbed AppBar
8787
88-
Summary: An AppBar with a TabBar as its bottom widget.
88+
Summary: An AppBar with a TabBar for navigating pages just below it.
8989
9090
Description:
9191
A TabBar can be used to navigate among the pages displayed in a TabBarView.

0 commit comments

Comments
 (0)