Add a raw hello_world that shows "Hello, world"

Previously, hello_world.dart was an interactive circle. I've moved that
to touch_input.dart. We should eventually harmonize the touch input
examples at all the layers.
This commit is contained in:
Adam Barth
2016-02-13 16:48:15 -08:00
parent 576b3aa206
commit 1ab3d3a71c
3 changed files with 159 additions and 112 deletions

View File

@@ -14,7 +14,7 @@ void main() {
// child both vertically and horizontally.
root: new RenderPositionedBox(
alignment: const FractionalOffset(0.5, 0.5),
// We use a RenderParagraph to display the text "Hello, world." without
// We use a RenderParagraph to display the text 'Hello, world.' without
// any explicit styling.
child: new RenderParagraph(new PlainTextSpan('Hello, world.'))
)