mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Minor style fixes to TaskDescription.
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1233513003 .
This commit is contained in:
parent
bb57df4092
commit
87f477eb93
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user