SizePreferenceKey

public struct SizePreferenceKey : PreferenceKey

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Declaration

    Swift

    public static var defaultValue: CGSize
  • Declaration

    Swift

    public static func reduce(value _: inout CGSize, nextValue _: () -> CGSize)