Finish TimePicker

After this patch, TimePicker should work correctly.

Fixes #559
This commit is contained in:
Adam Barth
2015-11-24 22:49:07 -08:00
parent 134b11e361
commit 72d2706ee1
3 changed files with 139 additions and 32 deletions

View File

@@ -29,7 +29,7 @@ class _TimePickerDemoState extends State<TimePickerDemo> {
Widget build(BuildContext context) {
return new Column([
new Text('${_selectedTime.hour}:${_selectedTime.minute}'),
new Text('$_selectedTime'),
new RaisedButton(
onPressed: _handleSelectTime,
child: new Text('SELECT TIME')