Properties
- child
- padding
Example:
const Padding(
padding: EdgeInsets.all(50.0),
child: Text(
'Hello',
style: TextStyle(fontSize: 50),
),
),
padding
padding: EdgeInsets.symmetric(vertical: 2),
only
padding: EdgeInsets.only(
top: 40, left: 20,
),
fromLTRB
padding: EdgeInsets.fromLTRB (10, 20, 30, 40),
Video Link: