Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 423 Bytes

PaddingWrapper.md

File metadata and controls

23 lines (15 loc) · 423 Bytes

CLASS

PaddingWrapper

A wrapper around a widget adding padding.

Properties

content

The content widget.

Methods

init(_:)

Initialize a padding wrapper around a widget.

  • Parameter content: The widget.

setPadding(_:edges:)

Customize the padding's size and the affected edges.

  • Parameters:
    • padding: The padding's size.
    • edges: The edges being affected by the padding wrapper.