flutter/examples
Jakob Andersen 5541d71b11 Android: Set evaluationDependsOn for plugin subprojects. (#9179)
Gradle projects are evaluated in lexicographical order, and the plugin
projects are at the same level as the :app project, so if a plugin has
a name that comes before 'app' (like, for example, any name that starts
with a capital letter), the plugin project will be evaluated before
:app.

Since :app applies the Flutter Gradle plugin, which tries to
modify the dependencies of the plugin projects, we have a problem if the
plugin projects have already been evaluated. Adding
evaluationDependsOn(':app') to the plugin projects fixes this.

Updated example projects to the latest (plugin-enabled) Gradle build
files.

Also removed two unused imports in `pluginClass.java.tmpl`.
2017-04-04 13:03:06 +02:00
..
flutter_gallery Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
flutter_view Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
hello_world Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
layers add @required when there's an assert not null (#9124) 2017-03-31 18:34:13 +02:00
platform_channel Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
platform_channel_swift Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02:00
stocks Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
.gitignore Add an example of an extensible iOS app (#4252) 2016-05-29 14:08:35 -07:00
README.md Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +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: