Hixie 9e73c7eeff Refactor fn2.dart, since it breached our 1000-line threshold.
This moves input.dart to editing2/, since that way we can define the layering as strictly unidirectional.
It also reorders a bunch of imports to fit the style guide.
I removed the old remnants of the widgets example, and put the fn2 examples into the examples/widgets/ directory, to parallel the framework directory names.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1177243002.
2015-06-11 10:26:11 -07:00

824 B

SKY SDK

Sky and Sky's SDK are designed as layered frameworks, where each layer depends on the ones below it but could be replaced wholesale.

The bottom-most layer is the Sky Platform, which is exposed to Dart code as the dart:sky package.

Above this are the files in the painting/ directory, which provide APIs related to drawing graphics.

Layout primitives are provided in the next layer, found in the rendering/ directory. They use dart:sky and the APIs exposed in painting/ to provide a retained-mode layout and rendering model for applications or documents.

Widgets are provided by the files in the widgets/ directory, using a reactive framework.

Text input widgets are layered on this mechanism and can be found in the editing2/ directory.