Contents

animation(_:)

Returns a new version of the modifier that will apply animation to all animatable values within the modifier.

Declaration

@MainActor @preconcurrency func animation(_ animation: Animation?) -> some ViewModifier

See Also

Adding animations to a view