flutter expanded scroll view code example
Example: flutter overflow when setting height of container inside singlechildscrollview
SingleChildScrollView(
child: ConstrainedBox(
constraints: BoxConstraints(
height: MediaQuery.of(context).size.height,
),
child: Container(
//contents of container
),
),
),