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

Unified Diff: sky/sdk/lib/framework/components2/radio.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
« no previous file with comments | « sky/sdk/lib/framework/components2/menu_item.dart ('k') | sky/sdk/lib/framework/components2/scaffold.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/radio.dart
diff --git a/sky/sdk/lib/framework/components2/radio.dart b/sky/sdk/lib/framework/components2/radio.dart
index ab6672fe04f091d4ce0c279a2f23dcd4fec47876..ca41868a19a701ed72497507e92afc077762b51f 100644
--- a/sky/sdk/lib/framework/components2/radio.dart
+++ b/sky/sdk/lib/framework/components2/radio.dart
@@ -4,9 +4,7 @@
import 'package:sky/framework/theme2/colors.dart' as colors;
-import 'dart:sky' as sky;
import '../fn2.dart';
-import '../rendering/box.dart';
import '../rendering/object.dart';
import 'button_base.dart';
import 'ink_well.dart';
@@ -27,18 +25,18 @@ class Radio extends ButtonBase {
UINode buildContent() {
// TODO(jackson): This should change colors with the theme
- sky.Color color = highlight ? colors.Purple[500] : const sky.Color(0x8A000000);
+ Color color = highlight ? colors.Purple[500] : const Color(0x8A000000);
const double diameter = 16.0;
const double outerRadius = diameter / 2;
const double innerRadius = 5.0;
return new EventListenerNode(
new Container(
margin: const EdgeDims.symmetric(horizontal: 5.0),
- desiredSize: new sky.Size(diameter, diameter),
+ desiredSize: new Size(diameter, diameter),
child: new CustomPaint(
callback: (sky.Canvas canvas) {
- sky.Paint paint = new sky.Paint()..color = color;
+ Paint paint = new Paint()..color = color;
// Draw the outer circle
paint.style = 1; // SkPaint::STROKE_STYLE;
« no previous file with comments | « sky/sdk/lib/framework/components2/menu_item.dart ('k') | sky/sdk/lib/framework/components2/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698