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

Unified Diff: sky/framework/components/input.dart

Issue 1006053002: Allow Effen Styles to be extendable (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sdfsd 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
« no previous file with comments | « sky/framework/components/ink_splash.dart ('k') | sky/framework/components/material.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/input.dart
diff --git a/sky/framework/components/input.dart b/sky/framework/components/input.dart
index 6ab0cd7dbe9369d177359613be8ca4637d9abd3f..f264b4a4d88589bfbbfc464c1dc1551f7b0e0c19 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(
- styles: [_placeholderStyle],
+ style: _placeholderStyle,
children: [new Text(placeholder)]
));
}
@@ -83,7 +83,7 @@ class Input extends Component {
children.add(new EditableText(value: _editableValue, focused: focused));
return new Container(
- styles: [_style],
+ style: _style,
inlineStyle: focused ? _focusedInlineStyle : null,
children: children
);
« no previous file with comments | « sky/framework/components/ink_splash.dart ('k') | sky/framework/components/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698