Modifiers
moveDisabled
Disables the move action for a view in a list. Apply to items within a ForEach to prevent them from being moved.
moveDisabled(disabled)
| Parameter | Type | Description |
|---|---|---|
disabled(optional) | boolean | Whether moving should be disabled. Default: true |
Disables the move action for a view in a list. Apply to items within a ForEach to prevent them from being moved.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- moveDisabled (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)
monospacedDigit
Modifies the fonts of all child views to use fixed-width digits, if possible, while leaving other characters proportionally spaced. When applied to Text, modifies the text view's font to use fixed-width digits, while leaving other characters proportionally spaced.
multilineTextAlignment
An alignment position for text along the horizontal axis.