xxxxxxxxxx
TextButton(
style: TextButton.styleFrom(
minimumSize: Size.zero,
padding: EdgeInsets.zero,
),
onPressed: () {},
child: Container(),
)
xxxxxxxxxx
Container(
padding: const EdgeInsets.all(0.0),
width: 30.0, // you can adjust the width as you need
child: IconButton(
padding: EdgeInsets.zero,
constraints: BoxConstraints(),
),
),
xxxxxxxxxx
FlatButton(materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,)