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
Returns a new version of the modifier that will apply animation to all animatable values within the modifier.
@MainActor @preconcurrency func animation(_ animation: Animation?) -> some ViewModifier