TimelineNowIndicator
public struct TimelineNowIndicator
extension TimelineNowIndicator: View
extension TimelineNowIndicator: _ViewEmptyChecking
TimelineNowIndicator
is used to present now indicator in a Timeline view.
It uses a node view and horizontal line to present now indicator.
Notes
Minimum list row height between Timeline Items in the List
Since the default size of node image on the TimelineNowIndicator is 7 pixels, in order to display TimelineNowIndicator correctly in the List, set the minimum height for all row in a List using the .environment(.defaultMinListRowHeight, value) modifier on the List, the value should be less than or equal to 7.
-
Undocumented
Declaration
Swift
public init(@ViewBuilder nowIndicatorNode: () -> any View = { Image(systemName: "circle.fill") })
-
Undocumented
Declaration
Swift
init(_ configuration: TimelineNowIndicatorConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }