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:
@@ -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.'))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user