Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Unified Diff: sky/examples/fn2/container.dart

Issue 1181533002: Rename BlockContainer, StackContainer, and FlexContainer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn2/container.dart
diff --git a/sky/examples/fn2/container.dart b/sky/examples/fn2/container.dart
index 650775af7afc500d0803512b2f55eeface0a2515..f1eec6bbea4558b79b488c8fed36e20411c37a09 100644
--- a/sky/examples/fn2/container.dart
+++ b/sky/examples/fn2/container.dart
@@ -20,23 +20,22 @@ class Rectangle extends RenderObjectWrapper {
class ContainerApp extends App {
UINode build() {
return new EventListenerNode(
- new BlockContainer(children: [
+ new Block([
new Container(
padding: new EdgeDims.all(10.0),
margin: new EdgeDims.all(10.0),
height: 100.0,
decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF00FF00)),
- child: new BlockContainer(
- children: [
- new Container(
- decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFFFFFF00)),
- height: 20.0,
- ),
- new Image(src: "https://www.dartlang.org/logos/dart-logo.png",
- size: new sky.Size(300.0, 300.0),
- key: 1
- ),
- ])),
+ child: new Block([
+ new Container(
+ decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFFFFFF00)),
+ height: 20.0,
+ ),
+ new Image(src: "https://www.dartlang.org/logos/dart-logo.png",
+ size: new sky.Size(300.0, 300.0),
+ key: 1
+ ),
+ ])),
]),
onPointerDown: _handlePointerDown,
onGestureTap: _handleGestureTap);
« no previous file with comments | « no previous file | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698