skip to Main Content

Flutter – A RenderFlex overflowed using a virtual keyboard

I have a simple form that looks nice and works great. I removed unnecessary information: @override Widget build(BuildContext context) { return Form( child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('Field1'), SizedBox(height: 24.0), Text('Field2'), SizedBox(height: 24.0), Text('Field3'), SizedBox(height: 24.0), Text('Field4'), SizedBox(height: 24.0),…

VIEW QUESTION

Flutter – Expand a SingleChildScrollView inside a column to take up as much room as it needs but no more

I have a Flutter widget like this, with a SingleChildScrollView inside a Column inside a parent container: class MyWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Container( padding: const EdgeInsets.all(10), decoration: BoxDecoration( color: Colors.grey, borderRadius: BorderRadius.circular(10), ), child:…

VIEW QUESTION
Back To Top
Search