| 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;
|
|
|