offset(x:y:)
Returns a transition that offset the view by the specified x and y values.
Declaration
@MainActor @preconcurrency static func offset(x: CGFloat = 0, y: CGFloat = 0) -> SelfReturns a transition that offset the view by the specified x and y values.
@MainActor @preconcurrency static func offset(x: CGFloat = 0, y: CGFloat = 0) -> Self