<p dir="auto">I have a TextField inside a stacked scafold (the outer one contains a bottombar and the inner one a tabbar with a pageView below it containing the textfield), I've had to set <code class="notranslate">resizeToAvoidBottomPadding: false</code> in order to keep the textfield from disappearing when the keyboard pops-up.<br>
I need to have the textfield occupy the whole available pageview's area, which I can accomplish visually with <code class="notranslate">maxLines = null</code> and <code class="notranslate">InputDecoration.collapsed</code>, The issue that I have (might be related to the scafold flag) is that when the keyboard pops-up, the textview does not resize, so the keyboard appears over what you're writing.<br>
I tried Enveloping the Textfield in a container with a <code class="notranslate">BoxConstraints.loose</code> and that allows me to limit it's height, but then it never spans the rest of the pageview.</p>
<p dir="auto">What's the correct way to have the TextField occupy the whole pageView and have it resize when the keyboard pops-up? is the container approach the appropriate one? Maybe there's a way to change the boxContraints when the keyboard pops-up, although that seems a lot of work.</p>
<p dir="auto">I use flutter framework with following revisions:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Flutter 0.4.4 • channel beta • https://github.com/flutter/flutter.git
Framework • revision f9bb4289e9 (4 weeks ago) • 2018-05-11 21:44:54 -0700
Engine • revision 06afdfe54e
Tools • Dart 2.0.0-dev.54.0.flutter-46ab040e58"><pre class="notranslate"><code class="notranslate">Flutter 0.4.4 • channel beta • https://github.com/flutter/flutter.git
Framework • revision f9bb4289e9 (4 weeks ago) • 2018-05-11 21:44:54 -0700
Engine • revision 06afdfe54e
Tools • Dart 2.0.0-dev.54.0.flutter-46ab040e58
</code></pre></div>
<p dir="auto">I cannot use ListView or ListViewBuilder inside Column widget. No list item is shown until I remove Column wrapper. Is it supposed not to work in that way, or is it a bug?</p>
<p dir="auto">Here it is my test widget.</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new Container(
        child: new Column(
      children: &lt;Widget&gt;[
        new ListView.builder(
            itemCount: 3,
            padding: const EdgeInsets.only(top: 10.0),
            itemBuilder: (context, index) {
              return new Text(&quot; asdasd&quot;);
            })
      ],
    ))"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-c1">Container</span>(
        child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Column</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">ListView</span>.<span class="pl-en">builder</span>(
            itemCount<span class="pl-k">:</span> <span class="pl-c1">3</span>,
            padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(top<span class="pl-k">:</span> <span class="pl-c1">10.0</span>),
            itemBuilder<span class="pl-k">:</span> (context, index) {
              <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">" asdasd"</span>);
            })
      ],
    ))</pre></div>