title: Flutter using EditableText
body: <p>I'm trying to figure out how to use the TextEditor in Flutter.</p>
  
  <p>I have "Card Editor" (basically I want to be able to work on the equivalent of a paragraph of text)</p>
  
  <pre><code>new EditableText(
                      autofocus: true,
                      maxLines: null,
                      backgroundCursorColor: Colors.amber,
                      cursorColor: Colors.green,
                      style: TextStyle(),
                      focusNode:  FocusNode(),
                      controller: controller,
                      onSubmitted: (val) {
                        _addCard(val);
                        Navigator.pop(context);
                      },
                    )
  </code></pre>
  
  <p>I adapted this from an example of a TextField.</p>
  
  <p>But I have a couple of questions.</p>
  
  <p>Firstly, it doesn't seem to show anything when I type. The cursor moves, but no text is visible. Is that the default when there's no explicit style? </p>
  
  <p>Secondly, how do I trigger the submit? With a TextField, the CR / Enter button does this. Obviously I see why you don't necessarily want that with EditableText But what should I do instead?</p>
  
  <p>Third, I need to be able to put default text into this widget. I tried adding a "value" attribute to the EditableText, but that doesn't seem to be right. What's the way to do this? </p>