Forgot to mention in question it was not working in widgetKit.
Found this https://stackoverflow.com/questions/62835019/progressview-in-ios-14-widget-causing-fatal-error
Solution
So made a CustomProgressView for my problem
struct CustomProgressView: View {
var body: some View {
ZStack {
ZStack {
}
.frame(width: 300, height: 6, alignment: .center)
.background(RoundedRectangle(cornerRadius: 3)
.fill(Color.blue))
ZStack(alignment: Alignment(horizontal: .leading, vertical: .center), content: {				})
.frame(width: 100, height: 6, alignment: .center)
.background(RoundedRectangle(cornerRadius: 3)
.fill(Color.green))
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: