ListItemStyle
public struct ListItemStyle : ViewStyle
extension ListItemStyle: Equatable
Contains the styling customization options for an item in a list.
-
The title style.
Declaration
Swift
public var title: TextStyle
-
The subtitle style.
Declaration
Swift
public var subtitle: TextStyle
-
The trailing title style.
Declaration
Swift
public var trailingText: TextStyle
-
The image style.
Declaration
Swift
public var image: ImageStyle
-
Initializes the list item style.
Declaration
Swift
public init(title: TextStyle, subtitle: TextStyle, image: ImageStyle)
Parameters
title
The title style.
subtitle
The subtitle style.
image
The image style.
-
Initializes the list item style with the default style.
Declaration
Swift
public init()
-
Declaration
Swift
public static func == (lhs: ListItemStyle, rhs: ListItemStyle) -> Bool