Index: sky/framework/editing/editable_text.dart |
diff --git a/sky/framework/editing/editable_text.dart b/sky/framework/editing/editable_text.dart |
index 7ad78a93e8957bbdd46012d5c0e3738ca3f1d9ac..df73e46262334c72669827fe82d9bf4fdf3b6904 100644 |
--- a/sky/framework/editing/editable_text.dart |
+++ b/sky/framework/editing/editable_text.dart |
@@ -76,7 +76,7 @@ class EditableText extends Component { |
if (!composing.isEmpty) { |
children.add(new Container( |
key: 'composing', |
- style: _composingStyle, |
+ styles: [_composingStyle], |
children: [new Text(composing)] |
)); |
} |
@@ -87,10 +87,10 @@ class EditableText extends Component { |
} |
if (_showCursor) |
- children.add(new Container(key: 'cursor', style: _cusorStyle)); |
+ children.add(new Container(key: 'cursor', styles: [_cusorStyle])); |
return new Container( |
- style: _style, |
+ styles: [_style], |
children: children |
); |
} |