IconButton 在屏幕边缘占用了太多空间。我是这样做的:
return Scaffold(
body: Column(
children: [
Container(
margin: EdgeInsets.all(20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: <Widget>[
Expanded(child: Input()),
IconButton(
icon: const Icon(Icons.cancel),
onPressed: () {},
),
],
), ...
如何修复它以使图标更靠近边缘边缘?