push(from:)
Creates a transition that when added to a view will animate the view’s insertion by moving it in from the specified edge while fading it in, and animate its removal by moving it out towards the opposite edge and fading it out.
Declaration
@MainActor @preconcurrency static func push(from edge: Edge) -> SelfParameters
- edge:
The edge from which the view will be animated in.
Return Value
A transition that animates a view by moving and fading it.