flutter/examples
Todd Volkert 7c60b7405a
Instrument vm service extensions in the gallery (#17977)
https://github.com/flutter/flutter/issues/17956

* Add a `debugInstrumentAction()` method that will wrap an action
  in a stopwatch and print the time it took to run the action.
* Add a global `debugInstrumentationEnabled` that will control
  whether `debugInstrumentAction()` does anything (even in debug
  builds).
* Add some basic instrumentation to `registerServiceExtension()`
* Temporarily enable the `debugInstrumentationEnabled` flag in the
  Gallery to give us better visibility into what's happening in
  https://github.com/flutter/flutter/issues/17956
2018-05-28 12:40:43 -07:00
..
catalog Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
flutter_gallery Instrument vm service extensions in the gallery (#17977) 2018-05-28 12:40:43 -07:00
flutter_view Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
hello_world Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
layers Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
platform_channel Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
platform_channel_swift Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
platform_view Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
stocks Revert "Update Gradle dependencies to match Android Studio 3.1.2 (#17974)" (#17979) 2018-05-28 21:18:13 +02:00
README.md Make consistent use of gradle wrapper (#10993) 2017-06-29 09:48:01 +02:00

Flutter Examples

This directory contains several examples of using Flutter. Each of these is an individual Dart application package.

To run an example, use flutter run inside that example's directory. See the getting started guide to install the flutter tool.

Tip: To see examples of how to use a specific Flutter framework class, copy and paste a URL with this format in your browser. Replace foo with the classname you are searching for (for example, here's the query for examples of the AppBar class).

https://github.com/flutter/flutter/search?q=path%3Aexamples+new+foo

Available examples include:

Note on Gradle wrapper files in .gitignore:

Gradle wrapper files should normally be checked into source control. The example projects don't do that to avoid having several copies of the wrapper binary in the Flutter repo. Instead, the Gradle wrapper is injected by Flutter tooling, and the wrapper files are .gitignore'd to avoid making the Flutter repository dirty as a side effect of running the examples.