提交 5566f088 编写于 作者: C Collin Jackson

Fix stocks app usage of checkbox

TBR=hixie

Review URL: https://codereview.chromium.org/1188573004.
上级 8758e72d
......@@ -3,6 +3,7 @@
// found in the LICENSE file.
import 'package:sky/widgets/checkbox.dart';
import 'package:sky/widgets/toggleable.dart';
import 'package:sky/widgets/popup_menu.dart';
import 'package:sky/widgets/basic.dart';
import 'package:sky/framework/theme/view_configuration.dart';
......@@ -22,7 +23,7 @@ class StockMenu extends Component {
UINode build() {
var checkbox = new Checkbox(
checked: this.autorefresh,
value: this.autorefresh,
onChanged: this.onAutorefreshChanged
);
......
......@@ -8,6 +8,7 @@ import 'package:sky/theme2/colors.dart' as colors;
import 'basic.dart';
import 'toggleable.dart';
export 'toggleable.dart' show ValueChanged;
const double _kMidpoint = 0.5;
const sky.Color _kUncheckedColor = const sky.Color(0x8A000000);
......
......@@ -11,6 +11,7 @@ import '../painting/shadows.dart';
import '../rendering/box.dart';
import 'basic.dart';
import 'toggleable.dart';
export 'toggleable.dart' show ValueChanged;
// TODO(jackson): This should change colors with the theme
sky.Color _kThumbOnColor = colors.Purple[500];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册