padding property

EdgeInsets padding
final

The distance from the outer edges of the page to the inner content box of the document.

Note that the padding is computed from the outer edge of the page, unlike HTML where it is computed from the inner edge of the border box.

If the document's horizontal padding exceeds its width, an exception will be thrown.

Implementation

final EdgeInsets padding;