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

Side by Side Diff: sky/sdk/lib/widgets/radio.dart

Issue 1232313002: Use package:sky imports consistently (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix BUILD.gn 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 unified diff | Download patch
« no previous file with comments | « sky/sdk/lib/widgets/popup_menu_item.dart ('k') | sky/sdk/lib/widgets/raised_button.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:sky' as sky; 5 import 'dart:sky' as sky;
6 6
7 import '../rendering/object.dart'; 7 import 'package:sky/rendering/object.dart';
8 import 'basic.dart'; 8 import 'package:sky/widgets/basic.dart';
9 import 'button_base.dart'; 9 import 'package:sky/widgets/button_base.dart';
10 import 'theme.dart'; 10 import 'package:sky/widgets/theme.dart';
11 11
12 const sky.Color _kLightOffColor = const sky.Color(0x8A000000); 12 const sky.Color _kLightOffColor = const sky.Color(0x8A000000);
13 const sky.Color _kDarkOffColor = const sky.Color(0xB2FFFFFF); 13 const sky.Color _kDarkOffColor = const sky.Color(0xB2FFFFFF);
14 14
15 typedef void ValueChanged(value); 15 typedef void ValueChanged(value);
16 16
17 class Radio extends ButtonBase { 17 class Radio extends ButtonBase {
18 18
19 Radio({ 19 Radio({
20 String key, 20 String key,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ), 70 ),
71 onGestureTap: _handleClick 71 onGestureTap: _handleClick
72 ); 72 );
73 } 73 }
74 74
75 void _handleClick(_) { 75 void _handleClick(_) {
76 onChanged(value); 76 onChanged(value);
77 } 77 }
78 78
79 } 79 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/widgets/popup_menu_item.dart ('k') | sky/sdk/lib/widgets/raised_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698