1

Since both are used to add spacing to our screen how do we decide when to use either of them .

1 Answers1

3
  1. SizedBox creates space between widget to widget only just height and width.
  2. Padding is how much an element is away from itself — how much distance an element wants to keep with the elements inside it. They create distance top, bottom, left, and right. enter image description here

Please checout my answer from here

Jahidul Islam
  • 11,435
  • 3
  • 17
  • 38