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

Unified Diff: sky/sdk/example/rendering/interactive_flex.dart

Issue 1218293017: Deploy TaskDescription to the rest of our demos (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « sky/sdk/example/mine_digger/lib/main.dart ('k') | sky/sdk/example/widgets/sector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/rendering/interactive_flex.dart
diff --git a/sky/sdk/example/rendering/interactive_flex.dart b/sky/sdk/example/rendering/interactive_flex.dart
index 7bbe97b17510c38c218a7f68743e1dd7600d4bf7..24f6f605a083d83f7dd386b79cb43443753fdd26 100644
--- a/sky/sdk/example/rendering/interactive_flex.dart
+++ b/sky/sdk/example/rendering/interactive_flex.dart
@@ -75,7 +75,8 @@ void main() {
RenderFlex column = new RenderFlex(direction: FlexDirection.vertical);
// Top cell
- addFlexChildSolidColor(column, const Color(0xFF55DDCA), flex: 1);
+ final Color topColor = const Color(0xFF55DDCA);
+ addFlexChildSolidColor(column, topColor, flex: 1);
// The internet is a beautiful place. https://baconipsum.com/
String meatyString = """Bacon ipsum dolor amet ham fatback tri-tip, prosciutto
@@ -102,6 +103,7 @@ Pancetta meatball tongue tenderloin rump tail jowl boudin.""";
child: row
);
+ activity.updateTaskDescription('Interactive Flex', topColor);
new SkyBinding(root: root);
view.setEventCallback(handleEvent);
}
« no previous file with comments | « sky/sdk/example/mine_digger/lib/main.dart ('k') | sky/sdk/example/widgets/sector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698