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

Unified Diff: sky/examples/raw/transform.dart

Issue 1162023004: Update BoxDecoration and RenderParagraph to use sky.Color instead of int. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: . Created 5 years, 7 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
Index: sky/examples/raw/transform.dart
diff --git a/sky/examples/raw/transform.dart b/sky/examples/raw/transform.dart
index b5c04a58daf9af9ed915be668b58698c9670b072..d902077de383de84d3da968c11f389d414232ab0 100644
--- a/sky/examples/raw/transform.dart
+++ b/sky/examples/raw/transform.dart
@@ -12,7 +12,7 @@ AppView app;
void main() {
RenderDecoratedBox green = new RenderDecoratedBox(
- decoration: new BoxDecoration(backgroundColor: 0xFF00FF00));
+ decoration: new BoxDecoration(backgroundColor: sky.Color.green));
RenderSizedBox box = new RenderSizedBox(
desiredSize: new sky.Size(200.0, 200.0), child: green);

Powered by Google App Engine
This is Rietveld 408576698