SpacingKey

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct SpacingKey : EnvironmentKey

Environment Key for Spacing

  • provide a default value for custom dependency

    Declaration

    Swift

    static var defaultValue: CGFloat