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>)
-
Undocumented
Declaration
Swift
init(_ configuration: ProgressIndicatorConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }