I have a horizontal list in a StatelessWidget and a a padding defined for the body. The padding is everywhere correct but not for the LIST - when I scroll the list, the result is like in the screenshot. How can this be fixed?

class MyWidget extends StatelessWidget{
@override
Widget build(BuildContext context) {
// TODO: implement build
return new Scaffold(
appBar: new AppBar(
backgroundColor: Colors.blueAccent,
title: new Text(CoreLocalisation.of(context).title),
actions: <Widget>[
new IconButton(icon: new Icon(Icons.send), onPressed: null),
new IconButton(icon: new Icon(Icons.search), onPressed: null)
]
),
body: Padding(
padding: new EdgeInsets.all(SCREEN_PADDING),
child:
new Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
SizedBox(
height: 60.0,
child: new CustomRadio(),
),Expanded(
flex: 5,
child: Column(
children: <Widget>[
Expanded(
flex: 5,
child: new Row
(
children: <Widget>[
new Expanded(
flex: 3,
child:new Card(
child: Center(
child: new TestWidget(
),
),
),
),
new Expanded(
flex: 3,
child:new Card(
child: new Container(),
),
),
],
),
),
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.