ProgressIndicator
public struct ProgressIndicator
extension ProgressIndicator: View
extension ProgressIndicator: _ViewEmptyChecking
ProgressIndicator provides a circular progress indicator with custom styles for processing, pausable, and stoppable indicators.
Usage
@State var progress: Double = 0.0
@State var isPaused: Bool = false
ProgressIndicator(progress: $progress)
.progressIndicatorStyle(.processing)
ProgressIndicator(progress: $progress)
.progressIndicatorStyle(ProgressIndicatorPausableStyle(isPaused: self.$isPaused))
-
Undocumented
Declaration
Swift
public init(progress: Binding<Double>, componentIdentifier: String? = ProgressIndicator.identifier) -
Undocumented
Declaration
Swift
static let identifier: String -
Undocumented
Declaration
Swift
init(_ configuration: ProgressIndicatorConfiguration) -
Declaration
Swift
@MainActor public var body: some View { get } -
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }