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

Unified Diff: sky/framework/components/input.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/components/input.dart
diff --git a/sky/framework/components/input.dart b/sky/framework/components/input.dart
index f264b4a4d88589bfbbfc464c1dc1551f7b0e0c19..6ab0cd7dbe9369d177359613be8ca4637d9abd3f 100644
--- a/sky/framework/components/input.dart
+++ b/sky/framework/components/input.dart
@@ -75,7 +75,7 @@ class Input extends Component {
if (placeholder != null && _value.isEmpty) {
children.add(new Container(
- style: _placeholderStyle,
+ styles: [_placeholderStyle],
children: [new Text(placeholder)]
));
}
@@ -83,7 +83,7 @@ class Input extends Component {
children.add(new EditableText(value: _editableValue, focused: focused));
return new Container(
- style: _style,
+ styles: [_style],
inlineStyle: focused ? _focusedInlineStyle : null,
children: children
);

Powered by Google App Engine
This is Rietveld 408576698