Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Protocol

ListStyle

The Compose SwiftUI form of SwiftUI's ListStyle.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
interface ListStyle

Overview

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

protocol ListStyle

Topics

Type properties

val elliptical: EllipticalListStyle
SwiftUI ListStyle.elliptical · iOS: unavailable (no-op), macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS 10.0+
val insetGrouped: InsetGroupedListStyle
SwiftUI ListStyle.insetGrouped · iOS 17.0+, macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val inset: InsetListStyle
SwiftUI ListStyle.inset · iOS 17.0+, macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val plain: PlainListStyle
SwiftUI ListStyle.plain
val automatic: DefaultListStyle
SwiftUI ListStyle.automatic
val grouped: GroupedListStyle
SwiftUI ListStyle.grouped · iOS 17.0+, macOS: unavailable (no-op), tvOS 17.0+, watchOS: unavailable (no-op)
val sidebar: SidebarListStyle
SwiftUI ListStyle.sidebar · iOS 17.0+, macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val bordered: BorderedListStyle
SwiftUI ListStyle.bordered · iOS: unavailable (no-op), macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
val carousel: CarouselListStyle
SwiftUI ListStyle.carousel · iOS: unavailable (no-op), macOS: unavailable (no-op), tvOS: unavailable (no-op), watchOS 10.0+

Methods

fun inset(alternatesRowBackgrounds: Boolean): InsetListStyle
SwiftUI ListStyle.inset(alternatesRowBackgrounds:) · iOS: unavailable (no-op), macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)
fun bordered(alternatesRowBackgrounds: Boolean): BorderedListStyle
SwiftUI ListStyle.bordered(alternatesRowBackgrounds:) · iOS: unavailable (no-op), macOS 14.0+, tvOS: unavailable (no-op), watchOS: unavailable (no-op)

Types

interface ListStyle
SwiftUI ListStyle