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

Unified Diff: sky/framework/editing/editable_text.dart

Issue 1003553002: Update Button to be made of Material (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
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
);
}

Powered by Google App Engine
This is Rietveld 408576698