BoundsPreferenceKey
public struct BoundsPreferenceKey : PreferenceKey
Collects bound, center coordinates and pass layout data to it’s parent View
-
Declaration
Swift
public typealias Value = Anchor<CGRect>? -
provide a default value for custom dependency
Declaration
Swift
public static var defaultValue: Value
View on GitHub
Install in Dash