Language:

Search

How To Add Padding Flutter

  • Share this:
post-title
post-title
Padding(
    //Padding On All Sides
    padding: EdgeInsets.all(10.0),
    //Symmetric Padding
    padding: EdgeInsets.symmetric(vertical: 10.0, horizontal: 5.0),
    //Different Padding For All Sides
    padding: EdgeInsets.fromLTRB(1.0, 2.0, 3.0, 4.0);
    child: Widget_Name
    (
        child: ...
    ),
),
Ammar Javed

Ammar Javed

Still Learning | Still Searching | Still Exploring | The secret of your success is determined by your daily agenda.