I started with a scaffold that didn't slide up but got squeeze, and after a suggested answer I adapted it to use `resizeToAvoidBottomInset: true,` and a `SingleChildScrollView` as the body and removed the `Expanded`
widget that was wrapping the second `Column`. Now that messed up the UI quite a bit. The firs Container only occupied 2/3 of the screen heigh, so after adjusting all paddings UI got back as before. The problem is the, dough when the keyboard appears the screen slides up, when the keyboard disappears the UI is a mess again. Can you see what's going wrong?

original Scaffold:
==================

```
Scaffold(
          resizeToAvoidBottomPadding: false,
          body: Container(
            color: Colors.black54,
          key: widget.key,
            padding: EdgeInsets.symmetric(horizontal: 100, vertical: 30),
            child: Container(
              decoration: BoxDecoration(
                color: Colors.transparent,
                borderRadius: BorderRadius.circular(5),
                border: Border.all(color: Colors.redAccent, width: 2),
              ),
              padding: EdgeInsets.symmetric(horizontal: 50, vertical: 15),
              child: Column(
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [
                  Expanded(
                    child: Padding(
                      padding: const EdgeInsets.symmetric(horizontal: 50.0),
                      child: Column(
                        mainAxisAlignment: MainAxisAlignment.start,
                        crossAxisAlignment: CrossAxisAlignment.center,
                        children: <Widget>[
                    ],
                  ),
                ],
              ),
            ),
          ),
        ),

```

modified Scaffold:
==================

```
Scaffold(
          resizeToAvoidBottomInset: true, // widgets still get squeezed
          body: SingleChildScrollView(
            child: Container(
              color: Colors.black54,
              key: widget.key,
              padding: EdgeInsets.only(left:50, right:50, top:30, bottom: 100),
              child: Container(
                decoration: BoxDecoration(
                  color: Colors.transparent,
                  borderRadius: BorderRadius.circular(5),
                  border: Border.all(color: Colors.redAccent, width: 2),
                ),
                padding: EdgeInsets.symmetric(horizontal: 50, vertical: 30),
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  crossAxisAlignment: CrossAxisAlignment.center,
                  children: <Widget>[
                    Padding(
                      padding: const EdgeInsets.symmetric(horizontal: 50),
                      child: Column(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        crossAxisAlignment: CrossAxisAlignment.center,
                        children: <Widget>[
                      ],
                    ),
                    //                  SizedBox(height: 10),
                  ],
                ),
              ),
            ),
          ),
        ),

```

[![enter image description here](https://i.stack.imgur.com/khkYR.png)](https://i.stack.imgur.com/khkYR.png)
[![enter image description here](https://i.stack.imgur.com/1LOkr.png)](https://i.stack.imgur.com/1LOkr.png)
[![enter image description here](https://i.stack.imgur.com/WgfTN.png)](https://i.stack.imgur.com/WgfTN.png)