CircledIconView

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
public struct CircledIconView : View

A Circled Icon View for Step Indicator

  • icon for the step indicator

    Declaration

    Swift

    public var image: Image
  • width for step indicator

    Declaration

    Swift

    public var width: CGFloat
  • color for step indicator

    Declaration

    Swift

    public var color: Color
  • stroke color for step indicator

    Declaration

    Swift

    public var strokeColor: Color
  • detect the color scheme i.e., light or dark mode

    Declaration

    Swift

    @Environment
    var colorScheme: ColorScheme { get }
  • initiazes image , width , color and strokeColor

    Declaration

    Swift

    public init(image: Image, width: CGFloat, color: Color = Color.black, strokeColor: Color = Colors.blue(.lightSky).rawValue)
  • provides the content and behavior of this view.

    Declaration

    Swift

    public var body: some View { get }