flutter/examples/layers
Alexandre Ardhuin 578ca0a295 use color.shadeXxx instead of color[Xxx] (#8932)
* use color.shadeXxx instead of color[Xxx]

* remove calls to .shade500 on MaterialColor

* remove calls to .shade200 on MaterialAccentColor

* fix test
2017-03-21 23:14:55 +01:00
..
.idea Revert back IntelliJ .iml file to project root (#8139) 2017-02-14 18:15:26 +01:00
android rename Sky to Flutter and add clarifying comment to template (#7165) 2016-12-06 16:03:32 -08:00
raw Declare locals final where not reassigned (layers) (#8572) 2017-03-03 18:04:27 -08:00
rendering use color.shadeXxx instead of color[Xxx] (#8932) 2017-03-21 23:14:55 +01:00
services apply partially the upcoming unnecessary_lambdas (#8810) 2017-03-15 23:09:58 +01:00
test fix lints for directives_ordering rule (#8382) 2017-02-23 13:37:26 -08:00
widgets use color.shadeXxx instead of color[Xxx] (#8932) 2017-03-21 23:14:55 +01:00
layers.iml Revert back IntelliJ .iml file to project root (#8139) 2017-02-14 18:15:26 +01:00
pubspec.yaml Merge pubspec.yaml and flutter.yaml. (#7605) 2017-01-24 11:19:31 -08:00
README.md Remove //examples/widgets 2016-03-08 16:37:32 -08:00

Examples of Flutter's layered architecture

This directory contains a number of self-contained examples that illustrate Flutter's layered architecture.

  • raw/ These examples show how to program against the lowest layer of the system. They manually receive input packets and construct composited scenes.

  • rendering/ These examples use Flutter's render tree to structure your app using a retained tree of visual objects. These objects coordinate to determine their size and position on screen and to handle events.

  • widgets/ These examples use Flutter's widgets to build more elaborate apps using a reactive framework.

  • services/ These examples use services available in Flutter to interact with the host platform.

To run each example, use the -t argument to the flutter tool:

flutter run -t widgets/spinning_square.dart