Commit bc6fb30f authored by Adam Barth's avatar Adam Barth

Add placeholder text to the Input component

R=rafaelw@chromium.org

Review URL: https://codereview.chromium.org/996213004
parent c6217000
......@@ -86,8 +86,9 @@ class StocksApp extends App {
]
);
Node title = _isSearching ?
new Input(focused: true) : new Text('I am a stocks app');
Node title = _isSearching
? new Input(focused: true, placeholder: 'Search stocks')
: new Text('I am a stocks app');
var toolbar = new Toolbar(
children: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment