<p dir="auto">I hit it first after making minor changes to the flutter code lab, and am hitting it now, while trying to put together a simpler flutter app.</p>
<p dir="auto">Hot reload is not working, cold launches sometimes work.</p>
<p dir="auto">Flutter run from IJ.</p>
<p dir="auto">Launching lib/main.dart on Nexus 6P in debug mode...<br>
Built build/app/outputs/apk/app-debug.apk (21.7MB).<br>
W/IInputConnectionWrapper(21208): reportFullscreenMode on inexistent InputConnection<br>
I/flutter (21208): executeQuery<br>
Restarted app in 1,286ms.<br>
E/MethodChannel#flutter/textinput(21208): Failed to handle method call<br>
E/MethodChannel#flutter/textinput(21208): java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0<br>
E/MethodChannel#flutter/textinput(21208): 	at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:683)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.text.Selection.setSelection(Selection.java:76)<br>
E/MethodChannel#flutter/textinput(21208): 	at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)<br>
E/MethodChannel#flutter/textinput(21208): 	at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)<br>
E/MethodChannel#flutter/textinput(21208): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)<br>
E/MethodChannel#flutter/textinput(21208): 	at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.os.MessageQueue.nativePollOnce(Native Method)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.os.MessageQueue.next(MessageQueue.java:323)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.os.Looper.loop(Looper.java:136)<br>
E/MethodChannel#flutter/textinput(21208): 	at android.app.ActivityThread.main(ActivityThread.java:6121)<br>
E/MethodChannel#flutter/textinput(21208): 	at java.lang.reflect.Method.invoke(Native Method)<br>
E/MethodChannel#flutter/textinput(21208): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)<br>
E/MethodChannel#flutter/textinput(21208): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)</p>
<p dir="auto">flutter analyze:<br>
~/src/github/flutter/bin/flutter analyze<br>
Analyzing jwren/src/github/flutter_google_knowledge_graph...<br>
hint • The value of the local variable 'v' isn't used at lib/main.dart:97:9 • unused_local_variable<br>
1 issue found.<br>
(Ran in 4.5s)</p>
<p dir="auto">Not sure whether this is a flutter bug or I should restructure the code.<br>
The intended behavior is that whenever I click the circled plus button, it should add <code class="notranslate">", " </code> to the end of the input text and advance the cursor to the end.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ul dir="auto">
<li>Run the following sample flutter program.</li>
<li>Type something in the text field and click the circled plus button.</li>
<li>The text field flicker for a moment, and the console shows some error messages (see below).</li>
</ul>
<p dir="auto">&lt;main.dart&gt;</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';

void main() {
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() =&gt; new _MyHomePageState();
}

class _MyHomePageState extends State&lt;MyHomePage&gt; {
  final TextEditingController _textController = new TextEditingController();

  @override
  Widget build(BuildContext context) {
    ThemeData theme = Theme.of(context);

    return new Scaffold(
      appBar: new AppBar(
        title: new Text(widget.title),
      ),
      body: new Center(
        child: new AnimatedBuilder(
          animation: _textController,
          builder: (BuildContext context, Widget child) {
            return new AlertDialog(
              title: new Text('Sample Values'),
              content: new Row(
                children: &lt;Widget&gt;[
                  new Expanded(
                    child: new TextField(
                      autofocus: true,
                      controller: _textController,
                      onSubmitted: (String text) =&gt;
                          text.isNotEmpty ? _handleSubmit(text) : null,
                    ),
                  ),
                  new IconButton(
                    icon: new Icon(Icons.add_circle_outline),
                    color: theme.primaryColor,
                    onPressed: _shouldEnablePlusButton(_textController.text)
                        ? _handlePlusButton
                        : null,
                  ),
                ],
              ),
              actions: &lt;Widget&gt;[
                new FlatButton(
                  child: new Text('OK'),
                  onPressed: _textController.text.isNotEmpty
                      ? () =&gt; _handleSubmit(_textController.text)
                      : null,
                ),
              ],
            );
          },
        ),
      ),
    );
  }

  bool _shouldEnablePlusButton(String text) {
    return text.trim().isNotEmpty &amp;&amp; !text.trim().endsWith(',');
  }

  void _handlePlusButton() {
    _textController.text = _textController.text + ', ';
    _textController.selection = new TextSelection.collapsed(
      offset: _textController.text.length,
    );
  }

  void _handleSubmit(String text) {
    print(text);
    _textController.clear();
  }
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;

<span class="pl-k">void</span> <span class="pl-en">main</span>() {
  <span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MyApp</span>());
}

<span class="pl-k">class</span> <span class="pl-c1">MyApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
  <span class="pl-k">@override</span>
  <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
    <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">MaterialApp</span>(
      title<span class="pl-k">:</span> <span class="pl-s">'Flutter Demo'</span>,
      theme<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ThemeData</span>(
        primarySwatch<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.blue,
      ),
      home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">MyHomePage</span>(title<span class="pl-k">:</span> <span class="pl-s">'Flutter Demo Home Page'</span>),
    );
  }
}

<span class="pl-k">class</span> <span class="pl-c1">MyHomePage</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> {
  <span class="pl-c1">MyHomePage</span>({<span class="pl-c1">Key</span> key, <span class="pl-c1">this</span>.title}) <span class="pl-k">:</span> <span class="pl-c1">super</span>(key<span class="pl-k">:</span> key);

  <span class="pl-k">final</span> <span class="pl-c1">String</span> title;

  <span class="pl-k">@override</span>
  <span class="pl-c1">_MyHomePageState</span> <span class="pl-en">createState</span>() <span class="pl-k">=&gt;</span> <span class="pl-k">new</span> <span class="pl-c1">_MyHomePageState</span>();
}

<span class="pl-k">class</span> <span class="pl-c1">_MyHomePageState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span>&lt;<span class="pl-c1">MyHomePage</span>&gt; {
  <span class="pl-k">final</span> <span class="pl-c1">TextEditingController</span> _textController <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>();

  <span class="pl-k">@override</span>
  <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
    <span class="pl-c1">ThemeData</span> theme <span class="pl-k">=</span> <span class="pl-c1">Theme</span>.<span class="pl-en">of</span>(context);

    <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>(
      appBar<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">AppBar</span>(
        title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(widget.title),
      ),
      body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Center</span>(
        child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">AnimatedBuilder</span>(
          animation<span class="pl-k">:</span> _textController,
          builder<span class="pl-k">:</span> (<span class="pl-c1">BuildContext</span> context, <span class="pl-c1">Widget</span> child) {
            <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">AlertDialog</span>(
              title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Sample Values'</span>),
              content<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Row</span>(
                children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[
                  <span class="pl-k">new</span> <span class="pl-c1">Expanded</span>(
                    child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
                      autofocus<span class="pl-k">:</span> <span class="pl-c1">true</span>,
                      controller<span class="pl-k">:</span> _textController,
                      onSubmitted<span class="pl-k">:</span> (<span class="pl-c1">String</span> text) <span class="pl-k">=&gt;</span>
                          text.isNotEmpty <span class="pl-k">?</span> <span class="pl-en">_handleSubmit</span>(text) <span class="pl-k">:</span> <span class="pl-c1">null</span>,
                    ),
                  ),
                  <span class="pl-k">new</span> <span class="pl-c1">IconButton</span>(
                    icon<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.add_circle_outline),
                    color<span class="pl-k">:</span> theme.primaryColor,
                    onPressed<span class="pl-k">:</span> <span class="pl-en">_shouldEnablePlusButton</span>(_textController.text)
                        <span class="pl-k">?</span> _handlePlusButton
                        <span class="pl-k">:</span> <span class="pl-c1">null</span>,
                  ),
                ],
              ),
              actions<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[
                <span class="pl-k">new</span> <span class="pl-c1">FlatButton</span>(
                  child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">'OK'</span>),
                  onPressed<span class="pl-k">:</span> _textController.text.isNotEmpty
                      <span class="pl-k">?</span> () <span class="pl-k">=&gt;</span> <span class="pl-en">_handleSubmit</span>(_textController.text)
                      <span class="pl-k">:</span> <span class="pl-c1">null</span>,
                ),
              ],
            );
          },
        ),
      ),
    );
  }

  <span class="pl-c1">bool</span> <span class="pl-en">_shouldEnablePlusButton</span>(<span class="pl-c1">String</span> text) {
    <span class="pl-k">return</span> text.<span class="pl-en">trim</span>().isNotEmpty <span class="pl-k">&amp;&amp;</span> <span class="pl-k">!</span>text.<span class="pl-en">trim</span>().<span class="pl-en">endsWith</span>(<span class="pl-s">','</span>);
  }

  <span class="pl-k">void</span> <span class="pl-en">_handlePlusButton</span>() {
    _textController.text <span class="pl-k">=</span> _textController.text <span class="pl-k">+</span> <span class="pl-s">', '</span>;
    _textController.selection <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextSelection</span>.<span class="pl-en">collapsed</span>(
      offset<span class="pl-k">:</span> _textController.text.length,
    );
  }

  <span class="pl-k">void</span> <span class="pl-en">_handleSubmit</span>(<span class="pl-c1">String</span> text) {
    <span class="pl-en">print</span>(text);
    _textController.<span class="pl-en">clear</span>();
  }
}</pre></div>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
W/IInputConnectionWrapper(16005): finishComposingText on inactive InputConnection
W/IInputConnectionWrapper(16005): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(16005): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(16005): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(16005): endBatchEdit on inactive InputConnection
I/flutter (16005): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (16005): The following assertion was thrown during paint():
I/flutter (16005): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2110: 'owner == null ||
I/flutter (16005): !owner.debugDoingPaint': is not true.
I/flutter (16005): 
I/flutter (16005): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (16005): more information in this error message to help you determine and fix the underlying cause.
I/flutter (16005): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (16005):   https://github.com/flutter/flutter/issues/new
I/flutter (16005): 
I/flutter (16005): When the exception was thrown, this was the stack:
I/flutter (16005): #2      RenderObject.markNeedsPaint (package:flutter/src/rendering/object.dart:2110)
I/flutter (16005): #3      _RenderInkFeatures._didChangeLayout (package:flutter/src/material/material.dart:315)
I/flutter (16005): #4      _MaterialState.build.&lt;anonymous closure&gt; (package:flutter/src/material/material.dart:228)
I/flutter (16005): #5      NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:110)
I/flutter (16005): #6      Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:43)
I/flutter (16005): #7      LayoutChangedNotification&amp;ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:36)
I/flutter (16005): #8      Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:3103)
I/flutter (16005): #9      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:57)
I/flutter (16005): #10     ScrollActivity.dispatchScrollStartNotification (package:flutter/src/widgets/scroll_activity.dart:90)
I/flutter (16005): #11     ScrollPosition.didStartScroll (package:flutter/src/widgets/scroll_position.dart:543)
I/flutter (16005): #12     ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:535)
I/flutter (16005): #13     ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:119)
I/flutter (16005): #14     ScrollPositionWithSingleContext.animateTo (package:flutter/src/widgets/scroll_position_with_single_context.dart:186)
I/flutter (16005): #15     ScrollController.animateTo (package:flutter/src/widgets/scroll_controller.dart:143)
I/flutter (16005): #16     EditableTextState._handleCaretChanged (package:flutter/src/widgets/editable_text.dart:463)
I/flutter (16005): #17     RenderEditable._paintCaret (package:flutter/src/rendering/editable.dart:497)
I/flutter (16005): #18     RenderEditable._paintContents (package:flutter/src/rendering/editable.dart:515)
I/flutter (16005): #19     RenderEditable.paint (package:flutter/src/rendering/editable.dart:531)
I/flutter (16005): #20     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #21     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #22     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #23     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #24     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #25     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #26     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #27     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #28     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #29     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #30     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #31     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #32     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #33     PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96)
I/flutter (16005): #34     PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:1085)
I/flutter (16005): #35     BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:253)
I/flutter (16005): #36     BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:504)
I/flutter (16005): #37     BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189)
I/flutter (16005): #38     BindingBase&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:688)
I/flutter (16005): #39     BindingBase&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:636)
I/flutter (16005): #40     _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:70)
I/flutter (16005): (elided 2 frames from class _AssertionError)
I/flutter (16005): 
I/flutter (16005): The following RenderObject was being processed when the exception was fired:
I/flutter (16005):   RenderEditable#653928671 relayoutBoundary=up25
I/flutter (16005):   creator: _Editable ← _ScrollableScope ← IgnorePointer-[GlobalKey#739450262] ← Listener ←
I/flutter (16005):   _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey&lt;RawGestureDetectorState&gt;#519290292] ←
I/flutter (16005):   RepaintBoundary ← CustomPaint ← RepaintBoundary ← NotificationListener&lt;ScrollNotification&gt; ←
I/flutter (16005):   GlowingOverscrollIndicator ← Scrollable ← ⋯
I/flutter (16005):   parentData: &lt;none&gt; (can use size)
I/flutter (16005):   constraints: BoxConstraints(w=184.0, 0.0&lt;=h&lt;=160.0)
I/flutter (16005):   size: Size(184.0, 19.0)
I/flutter (16005):   cursorColor: Color(0xff90caf9)
I/flutter (16005):   showCursor: ValueNotifier&lt;bool&gt;#24695738(true)
I/flutter (16005):   maxLines: 1
I/flutter (16005):   selectionColor: Color(0xff90caf9)
I/flutter (16005):   textScaleFactor: 1.0
I/flutter (16005):   selection: TextSelection(baseOffset: 6, extentOffset: 6, affinity: TextAffinity.downstream,
I/flutter (16005):   isDirectional: false)
I/flutter (16005):   offset: ScrollPositionWithSingleContext#600127095(offset: 0.0, range: 0.0..0.0, viewport: 184.0,
I/flutter (16005):   ScrollableState, ClampingScrollPhysics -&gt; ClampingScrollPhysics,
I/flutter (16005):   DrivenScrollActivity#106212815(AnimationController#365025467(▶ 0.000; for DrivenScrollActivity)),
I/flutter (16005):   ScrollDirection.idle)
I/flutter (16005): This RenderObject has no descendants.
I/flutter (16005): ════════════════════════════════════════════════════════════════════════════════════════════════════
"><pre class="notranslate"><code class="notranslate">E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(16005): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
W/IInputConnectionWrapper(16005): finishComposingText on inactive InputConnection
W/IInputConnectionWrapper(16005): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(16005): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(16005): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(16005): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(16005): endBatchEdit on inactive InputConnection
I/flutter (16005): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (16005): The following assertion was thrown during paint():
I/flutter (16005): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2110: 'owner == null ||
I/flutter (16005): !owner.debugDoingPaint': is not true.
I/flutter (16005): 
I/flutter (16005): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (16005): more information in this error message to help you determine and fix the underlying cause.
I/flutter (16005): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (16005):   https://github.com/flutter/flutter/issues/new
I/flutter (16005): 
I/flutter (16005): When the exception was thrown, this was the stack:
I/flutter (16005): #2      RenderObject.markNeedsPaint (package:flutter/src/rendering/object.dart:2110)
I/flutter (16005): #3      _RenderInkFeatures._didChangeLayout (package:flutter/src/material/material.dart:315)
I/flutter (16005): #4      _MaterialState.build.&lt;anonymous closure&gt; (package:flutter/src/material/material.dart:228)
I/flutter (16005): #5      NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:110)
I/flutter (16005): #6      Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:43)
I/flutter (16005): #7      LayoutChangedNotification&amp;ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:36)
I/flutter (16005): #8      Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:3103)
I/flutter (16005): #9      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:57)
I/flutter (16005): #10     ScrollActivity.dispatchScrollStartNotification (package:flutter/src/widgets/scroll_activity.dart:90)
I/flutter (16005): #11     ScrollPosition.didStartScroll (package:flutter/src/widgets/scroll_position.dart:543)
I/flutter (16005): #12     ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:535)
I/flutter (16005): #13     ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:119)
I/flutter (16005): #14     ScrollPositionWithSingleContext.animateTo (package:flutter/src/widgets/scroll_position_with_single_context.dart:186)
I/flutter (16005): #15     ScrollController.animateTo (package:flutter/src/widgets/scroll_controller.dart:143)
I/flutter (16005): #16     EditableTextState._handleCaretChanged (package:flutter/src/widgets/editable_text.dart:463)
I/flutter (16005): #17     RenderEditable._paintCaret (package:flutter/src/rendering/editable.dart:497)
I/flutter (16005): #18     RenderEditable._paintContents (package:flutter/src/rendering/editable.dart:515)
I/flutter (16005): #19     RenderEditable.paint (package:flutter/src/rendering/editable.dart:531)
I/flutter (16005): #20     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #21     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #22     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #23     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #24     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #25     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #26     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #27     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #28     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #29     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #30     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
I/flutter (16005): #31     RenderBox&amp;RenderObjectWithChildMixin&amp;RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
I/flutter (16005): #32     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
I/flutter (16005): #33     PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96)
I/flutter (16005): #34     PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:1085)
I/flutter (16005): #35     BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:253)
I/flutter (16005): #36     BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:504)
I/flutter (16005): #37     BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189)
I/flutter (16005): #38     BindingBase&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:688)
I/flutter (16005): #39     BindingBase&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:636)
I/flutter (16005): #40     _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:70)
I/flutter (16005): (elided 2 frames from class _AssertionError)
I/flutter (16005): 
I/flutter (16005): The following RenderObject was being processed when the exception was fired:
I/flutter (16005):   RenderEditable#653928671 relayoutBoundary=up25
I/flutter (16005):   creator: _Editable ← _ScrollableScope ← IgnorePointer-[GlobalKey#739450262] ← Listener ←
I/flutter (16005):   _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey&lt;RawGestureDetectorState&gt;#519290292] ←
I/flutter (16005):   RepaintBoundary ← CustomPaint ← RepaintBoundary ← NotificationListener&lt;ScrollNotification&gt; ←
I/flutter (16005):   GlowingOverscrollIndicator ← Scrollable ← ⋯
I/flutter (16005):   parentData: &lt;none&gt; (can use size)
I/flutter (16005):   constraints: BoxConstraints(w=184.0, 0.0&lt;=h&lt;=160.0)
I/flutter (16005):   size: Size(184.0, 19.0)
I/flutter (16005):   cursorColor: Color(0xff90caf9)
I/flutter (16005):   showCursor: ValueNotifier&lt;bool&gt;#24695738(true)
I/flutter (16005):   maxLines: 1
I/flutter (16005):   selectionColor: Color(0xff90caf9)
I/flutter (16005):   textScaleFactor: 1.0
I/flutter (16005):   selection: TextSelection(baseOffset: 6, extentOffset: 6, affinity: TextAffinity.downstream,
I/flutter (16005):   isDirectional: false)
I/flutter (16005):   offset: ScrollPositionWithSingleContext#600127095(offset: 0.0, range: 0.0..0.0, viewport: 184.0,
I/flutter (16005):   ScrollableState, ClampingScrollPhysics -&gt; ClampingScrollPhysics,
I/flutter (16005):   DrivenScrollActivity#106212815(AnimationController#365025467(▶ 0.000; for DrivenScrollActivity)),
I/flutter (16005):   ScrollDirection.idle)
I/flutter (16005): This RenderObject has no descendants.
I/flutter (16005): ════════════════════════════════════════════════════════════════════════════════════════════════════

</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Linux, locale en_US.UTF-8, channel unknown)
    • Flutter at /usr/local/google/home/youngseokyoon/Programming/fuchsia/lib/flutter
    • Framework revision 0774c5194b (7 hours ago), 2017-06-13 10:51:17 -0700
    • Engine revision 4f5d6fab11
    • Tools Dart version 1.24.0-dev.6.7

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
    • Android SDK at /usr/local/google/home/youngseokyoon/Android/Sdk
    • Platform android-25, build-tools 25.0.3
    • Java binary at: /opt/android-studio-2.3/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] Android Studio (version 2.3)
    • Android Studio at /opt/android-studio-2.3
    • Gradle version 3.2
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[-] IntelliJ IDEA Community Edition (version 2017.1)
    ✗ Flutter plugin version 13.1 - the recommended minimum version is 14.0.0
    • Dart plugin version 171.4424
    • For information about managing plugins, see
      https://www.jetbrains.com/help/idea/managing-plugins.html

[✓] Connected devices
    • Pixel C • 5C08000423 • android-arm • Android 7.0 (API 24)
"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Linux, locale en_US.UTF-8, channel unknown)
    • Flutter at /usr/local/google/home/youngseokyoon/Programming/fuchsia/lib/flutter
    • Framework revision 0774c5194b (7 hours ago), 2017-06-13 10:51:17 -0700
    • Engine revision 4f5d6fab11
    • Tools Dart version 1.24.0-dev.6.7

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
    • Android SDK at /usr/local/google/home/youngseokyoon/Android/Sdk
    • Platform android-25, build-tools 25.0.3
    • Java binary at: /opt/android-studio-2.3/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] Android Studio (version 2.3)
    • Android Studio at /opt/android-studio-2.3
    • Gradle version 3.2
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[-] IntelliJ IDEA Community Edition (version 2017.1)
    ✗ Flutter plugin version 13.1 - the recommended minimum version is 14.0.0
    • Dart plugin version 171.4424
    • For information about managing plugins, see
      https://www.jetbrains.com/help/idea/managing-plugins.html

[✓] Connected devices
    • Pixel C • 5C08000423 • android-arm • Android 7.0 (API 24)

</code></pre></div>