WidthKey
struct WidthKey : PreferenceKey
Preference Key for width
-
provide a default value for custom dependency
Declaration
Swift
static let defaultValue: CGFloat?
-
Declaration
Swift
static func reduce(value: inout CGFloat?, nextValue: () -> CGFloat?)