I Want to create a product cart list in my app. so I used Card Widget and Inside of it used a ListTile widget. Inside the listTile i used trailing property to create a Column to add 2 buttons and a Number, when i create those things its shows a layout error that BOTTOM OVERFLOWED BY 55 PIXEL.
Here are the codes
@override
_NewTestState createState() => _NewTestState();
}
class _NewTestState extends State<NewTest> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: new AppBar(
title: new Text("data"),
),
body: new Card(
child: new ListTile(
leading: new FlutterLogo(
size: 50.0,
),
title: new Text("Title"),
subtitle: new Text("subtitle"),
trailing: new Column(
children: <Widget>[
new IconButton(
icon: Icon(Icons.arrow_drop_up),
onPressed: () {},
),
new Text("1"),
new IconButton(
icon: Icon(Icons.arrow_drop_down),
onPressed: () {},
),
],
),
),
));
}
}
Please help me with this...