scale(scale:anchor:)
Returns a transition that scales the view by the specified amount.
Declaration
static func scale(scale: CGFloat, anchor: UnitPoint = .center) -> AnyTransitionReturns a transition that scales the view by the specified amount.
static func scale(scale: CGFloat, anchor: UnitPoint = .center) -> AnyTransition