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

Side by Side Diff: sky/sdk/lib/framework/components/radio.dart

Issue 1142893007: Suppress unnamed library analyzer spam in shelldb (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 unified diff | Download patch
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 library components_radio;
6
7 import '../fn.dart'; 5 import '../fn.dart';
8 import 'button_base.dart'; 6 import 'button_base.dart';
9 import 'ink_well.dart'; 7 import 'ink_well.dart';
10 8
11 typedef void ValueChanged(value); 9 typedef void ValueChanged(value);
12 10
13 class Radio extends ButtonBase { 11 class Radio extends ButtonBase {
14 Object value; 12 Object value;
15 Object groupValue; 13 Object groupValue;
16 ValueChanged onChanged; 14 ValueChanged onChanged;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 highlight ? _highlightStyle : _style 54 highlight ? _highlightStyle : _style
57 ), 55 ),
58 onGestureTap: _handleClick 56 onGestureTap: _handleClick
59 ); 57 );
60 } 58 }
61 59
62 void _handleClick(_) { 60 void _handleClick(_) {
63 onChanged(value); 61 onChanged(value);
64 } 62 }
65 } 63 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components/popup_menu_item.dart ('k') | sky/sdk/lib/framework/components/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698