Modifiers
listSectionMargins
Allows a view to ignore safe area constraints.
listSectionMargins(params)
iOS 26+
| Parameter | Type | Description |
|---|---|---|
params(optional) | { edges: 'top' | 'bottom' | 'vertical' | 'horizontal' | 'leading' | 'trailing' | 'all', length: number } | The margins to apply to the section in a list. |
Allows a view to ignore safe area constraints.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- listSectionMargins (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)