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

Unified Diff: sky/sdk/lib/framework/components2/icon.dart

Issue 1161323004: Export Point, Size, Rect, Color, Paint, Path, BoxDecoration, Border, BorderSide, EdgeDims, and Flex… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: without analyser changes 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
Index: sky/sdk/lib/framework/components2/icon.dart
diff --git a/sky/sdk/lib/framework/components2/icon.dart b/sky/sdk/lib/framework/components2/icon.dart
index 2d31def83599133d7d3703c400acf1afe4463143..fbc12dc045480d202c7cfc4e22da3bc6ee7f74dd 100644
--- a/sky/sdk/lib/framework/components2/icon.dart
+++ b/sky/sdk/lib/framework/components2/icon.dart
@@ -2,9 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'dart:sky' as sky;
import '../fn2.dart';
-import '../rendering/box.dart';
// TODO(eseidel): This should use package:.
const String kAssetBase = '/packages/sky/assets/material-design-icons';
@@ -28,7 +26,7 @@ class Icon extends Component {
subtype = parts[1];
}
return new Image(
- size: new sky.Size(size.toDouble(), size.toDouble()),
+ size: new Size(size.toDouble(), size.toDouble()),
src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png'
);
}
« no previous file with comments | « sky/sdk/lib/framework/components2/fixed_height_scrollable.dart ('k') | sky/sdk/lib/framework/components2/menu_divider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698