IconButton takes too much space to the edge of screen. This is how I made it:
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: () {},
),
],
), ...
How to fix it to make icon closer to the margin edge?