SingleChildScrollView is not working in Flutter. What to do?

Replace

body: SingleChildScrollView(child: Container(),),

By

body: ScrollConfiguration(behavior: ScrollBehavior()..buildViewportChrome(context, null, AxisDirection.down),child: SingleChildScrollView(child: Container(
height: MediaQuery.of(context).size.height,
),),),

Make sure , you are using ScrollConfiguration in a stateful widget.

And you are Done!