Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

splitArrangementLayoutSize(_:)

A view modifier that maps SwiftUI's splitArrangementLayoutSize.

iOS 27.1+macOS 27.1+tvOS 27.1+watchOS 27.1+
fun Modifier.splitArrangementLayoutSize(minWidth: Double? = null, idealWidth: Double? = null, maxWidth: Double? = null, minHeight: Double? = null, idealHeight: Double? = null, maxHeight: Double? = null): Modifier

Overview

Modifier.splitArrangementLayoutSize()

This is the Kotlin form of SwiftUI View.splitArrangementLayoutSize(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:): SwiftUI documentation. In Swift it reads:

nonisolated func splitArrangementLayoutSize(minWidth: CGFloat? = nil, idealWidth: CGFloat? = nil, maxWidth: CGFloat? = nil, minHeight: CGFloat? = nil, idealHeight: CGFloat? = nil, maxHeight: CGFloat? = nil) -> some View

Topics

Overloads

fun Modifier.splitArrangementLayoutSize(minWidth: Double? = null, idealWidth: Double? = null, maxWidth: Double? = null, minHeight: Double? = null, idealHeight: Double? = null, maxHeight: Double? = null): Modifier
SwiftUI View.splitArrangementLayoutSize(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:)