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

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

Issue 1182053012: Rename editing2/ and theme2/ to editing/ and theme/. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « sky/sdk/lib/widgets/radio.dart ('k') | sky/sdk/lib/widgets/scaffold.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 '../theme2/colors.dart'; 5 import '../theme/colors.dart';
6 import 'basic.dart'; 6 import 'basic.dart';
7 import 'material_button.dart'; 7 import 'material_button.dart';
8 8
9 export 'material_button.dart' show MaterialButtonTheme; 9 export 'material_button.dart' show MaterialButtonTheme;
10 10
11 class RaisedButton extends MaterialButton { 11 class RaisedButton extends MaterialButton {
12 12
13 RaisedButton({ 13 RaisedButton({
14 String key, 14 String key,
15 Widget child, 15 Widget child,
(...skipping 22 matching lines...) Expand all
38 return Blue[600]; 38 return Blue[600];
39 break; 39 break;
40 } 40 }
41 } else { 41 } else {
42 return Grey[350]; 42 return Grey[350];
43 } 43 }
44 } 44 }
45 45
46 int get level => enabled ? (highlight ? 2 : 1) : 0; 46 int get level => enabled ? (highlight ? 2 : 1) : 0;
47 } 47 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/widgets/radio.dart ('k') | sky/sdk/lib/widgets/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698