7270f2845d
* Use Xcode build configurations to drive Flutter build mode * Proper check wrt local_engine, print error if profile mode misisng * Remove unused code, update tests, fix template problem, update warning * fix up warning * add explanatory dev comment * fix whitespace * missing words, change lambda arrow to function body * error indentation * Test early exits for xcode_backend.sh * only on macOS, use right test * Update error messages * case insensitive compare for build config * Update gallery podfile * update projects to add profile configuration * make compatible with flavors * add missing plist files |
||
---|---|---|
.. | ||
android | ||
bin | ||
ios | ||
lib | ||
test | ||
test_driver | ||
pubspec.yaml | ||
README.md |
Samples Catalog
A collection of sample apps that demonstrate how Flutter can be used.
Each sample app is contained in a single .dart
file and they're all found in
the lib directory.
The apps are intended to be short and easily understood. Classes that represent the sample's focus are at the top of the file, data and support classes follow.
Each sample app contains a comment (usually at the end) which provides some standard documentation that also appears in the web view of the catalog. See the "Generating..." section below.
Generating the web view of the catalog
Markdown and a screenshot of each app are produced by bin/sample_page.dart
and saved in the .generated
directory. The markdown file contains
the text taken from the Sample Catalog comment found in the app's source
file, followed by the source code itself.
This sample_page.dart command line app must be run from the examples/catalog
directory. It relies on templates also found in the bin directory and it
generates and executes test_driver
apps to collect the screenshots:
cd examples/catalog
dart bin/sample_page.dart