Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Structure

ToolbarItemPlacement

The Compose SwiftUI form of SwiftUI's ToolbarItemPlacement.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
class ToolbarItemPlacement

Overview

This is the Kotlin form of SwiftUI ToolbarItemPlacement: SwiftUI documentation. In Swift it reads:

struct ToolbarItemPlacement

Topics

Initializers

constructor(id: Any)
SwiftUI ToolbarItemPlacement.init(id:) · iOS: unavailable (no-op), macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)

Type properties

val largeTitle: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.largeTitle · iOS 26.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val navigation: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.navigation · iOS 17.0+, macOS 14.0+, tvOS 17.0+, watchOS: unavailable (no-op)
val largeSubtitle: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.largeSubtitle · iOS 26.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val primaryAction: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.primaryAction
val secondaryAction: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.secondaryAction · iOS 17.0+, macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val destructiveAction: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.destructiveAction
val cancellationAction: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.cancellationAction
val confirmationAction: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.confirmationAction
val navigationBarLeading: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.navigationBarLeading · iOS 17.0+, macOS: unavailable (no-op), tvOS 17.0+, watchOS: unavailable (no-op)
val topBarPinnedTrailing: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.topBarPinnedTrailing · iOS 27.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val navigationBarTrailing: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.navigationBarTrailing · iOS 17.0+, macOS: unavailable (no-op), tvOS 17.0+, watchOS: unavailable (no-op)
val title: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.title · iOS 17.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val status: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.status · iOS 17.0+, macOS 14.0+, tvOS 18.0+, watchOS: unavailable (no-op)
val keyboard: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.keyboard · iOS 17.0+, macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val subtitle: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.subtitle · iOS 26.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val automatic: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.automatic
val bottomBar: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.bottomBar · iOS 17.0+, macOS: unavailable (no-op), tvOS 18.0+, watchOS 10.0+
val principal: ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.principal · iOS 17.0+, macOS 14.0+, tvOS 17.0+, watchOS: unavailable (no-op)

Methods

fun accessoryBar(id: Any): ToolbarItemPlacement
SwiftUI ToolbarItemPlacement.accessoryBar(id:) · iOS: unavailable (no-op), macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)

Types

class ToolbarItemPlacement
SwiftUI ToolbarItemPlacement