remove iconbutton padding flutter

118

IconButton(
    padding: EdgeInsets.zero,
    constraints: BoxConstraints(),
)
Container(
  padding: const EdgeInsets.all(0.0),
  width: 30.0, // you can adjust the width as you need
  child: IconButton(
  ),
),

Comments

Submit
0 Comments