SwiftUI allows padding with a simple number, with edges and length, or with EdgeInsets struct.
Step 2: Check each option
Text("Hello").padding(20) uses padding(20) which adds 20 points all around. Text("Hello").padding(.all, 20) uses padding(.all, 20) which also adds 20 points all around. Text("Hello").padding(EdgeInsets(top: 20, leading: 20, bottom: 20, trailing: 20)) uses EdgeInsets with 20 points on all sides. All are valid ways.