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

Unified Diff: sky/sdk/lib/widgets/task_description.dart

Issue 1233513003: Minor style fixes to TaskDescription. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/task_description.dart
diff --git a/sky/sdk/lib/widgets/task_description.dart b/sky/sdk/lib/widgets/task_description.dart
index 2b74a0cd974b298d8a0c46cfcc37f28e8d49d4e3..bb9481a9c85d30abff5bc6c8a395f2bdccec1c8e 100644
--- a/sky/sdk/lib/widgets/task_description.dart
+++ b/sky/sdk/lib/widgets/task_description.dart
@@ -2,18 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'package:sky/widgets/widget.dart';
-import 'package:sky/widgets/theme.dart';
-import 'package:sky/mojo/activity.dart' as activity;
+import '../mojo/activity.dart' as activity;
+import 'theme.dart';
+import 'widget.dart';
class TaskDescription extends Component {
- Widget child;
- String label;
- TaskDescription({this.label, this.child});
+ TaskDescription({ this.label, this.child });
+
+ final Widget child;
+ final String label;
Widget build() {
activity.updateTaskDescription(label, Theme.of(this).primaryColor);
return child;
}
+
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698