AnimatedCircle
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct AnimatedCircle : View
circles around the border with progress
-
text to be paced inside the circle
Declaration
Swift
var text: String
-
width of the step indicator
Declaration
Swift
var width: CGFloat
-
color of the step indicator
Declaration
Swift
var color: Color
-
delay for the animation to happen
Declaration
Swift
var delay: Double
-
flag to tigger animation or not.
Declaration
Swift
var triggerAnimation: Bool
-
loading time for animations
Declaration
Swift
var loadingTimer: LoadingTimer
-
state to track the progress of the circle
Declaration
Swift
@State var circleProgress: CGFloat { get nonmutating set }
-
handle completion status of the animation
Declaration
Swift
@State var completion: Bool { get nonmutating set }
-
state to render view based on the value
Declaration
Swift
@Binding var animate: Bool { get nonmutating set }
-
detect the color scheme i.e., light or dark mode
Declaration
Swift
@Environment var colorScheme: ColorScheme { get }
-
provides the content and behavior of this view.
Declaration
Swift
var body: some View { get }