title: How to use column inside single child scroll view flutter
body: <p>I have a column inside a single child scroll view. I need to make my login screen scroll when I type using the keyboard because the keyboard hides the password text field.</p>
  
  <pre><code>class UserRegistration extends StatefulWidget {
  
    @override
    _UserRegistrationState createState() =&gt; _UserRegistrationState();
  }
  
  class _UserRegistrationState extends State&lt;UserRegistration&gt; {
    @override
    Widget build(BuildContext context) {
  
      SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
        statusBarColor: Color(0xFF6C62FF)
      ));
  
      return SafeArea(
        child: GestureDetector(
          onTap: () =&gt; FocusScope.of(context).requestFocus(FocusNode()),
          child: Scaffold(
            resizeToAvoidBottomInset: false,
            resizeToAvoidBottomPadding: false,
            backgroundColor: Color(0xFF6C62FF),
            body:   SingleChildScrollView(
              padding: EdgeInsets.symmetric(horizontal: 30),
              child: Column([![enter image description here][1]][1]
                mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  Center(child: FittedBox(child: Text('Welcome', style: TextStyle(fontFamily: 'SourceSans', fontSize: 50, fontWeight: FontWeight.w600, color: Color(0xFFFFD700)),))),
                  Container(
                    child: Column(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text('Register', style: TextStyle(fontFamily: 'SourceSans', fontSize: 40, fontWeight: FontWeight.w600, color: Colors.white)),
                        SizedBox(height: 5,),
                        Text('Start from today', style: TextStyle(fontFamily: 'SourceSans', fontSize: 25, letterSpacing: 1.5,fontWeight: FontWeight.w600, color: Colors.white), overflow: TextOverflow.ellipsis,),
                      ],
                    ),
                  ),
                  Form(
                    child: Column(
                      children: [
                        EditTextNormal(hintText: 'Email', iconData: Icons.email, textInputType: TextInputType.emailAddress, validate: false, errorText: 'Enter your email',),
                        SizedBox(height: 20,),
                        EditTextObscure(hintText: 'Password', iconData: Icons.lock, textInputType: TextInputType.text, validate: false, errorText: 'Enter your password',),
                        SizedBox(height: 50,),
                        Container(
                          height: 50,
                          width: 180,
                          child: FlatButton(
                            splashColor: Colors.transparent,
                            highlightColor: Colors.transparent,
                            shape: RoundedRectangleBorder(
                              borderRadius: BorderRadius.circular(8)
                            ),
                            onPressed: () {},
                            color: Colors.white,
                            child: Text('Register', style: TextStyle(color: Color(0xFF6C62FF), fontSize: 20), overflow: TextOverflow.ellipsis,),
                          ),
                        )
                      ],
                    ),
                  ),
                  Center(
                    child: RichText(
                      text: TextSpan(
                        children: &lt;TextSpan&gt;[
                          TextSpan(text: 'Login', style: TextStyle(color: Color(0xFFFFD700), letterSpacing: 1, wordSpacing: 1.5))
                        ],
                        text: 'Have an account? ',
                        style: TextStyle(fontSize: 18, fontFamily: 'SourceSans', fontWeight: FontWeight.bold, letterSpacing: 1, wordSpacing: 1.5)
                      ),
                    ),
                  ),
                ],
              ),
            ),
          ),
        ),
      );
    }
  }
  </code></pre>
  
  <p>This is my code but here when I use a column inside a single child scroll view space evenly does not work. Please give me a solution.</p>
  
  <p>My output:</p>
  
  <p><a href="https://i.stack.imgur.com/2Xo7F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Xo7F.png" alt="My output"></a></p>
  
  <p>Expected Output:<a href="https://i.stack.imgur.com/ZY8AT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZY8AT.png" alt="enter image description here"></a></p>