init(_:content:)
Creates an instance that animates the property of the root value at the given key path.
Declaration
init(_ keyPath: WritableKeyPath<Root, Value>, @KeyframeTrackContentBuilder<Value> content: () -> Content)Parameters
- keyPath:
The property to animate.