init(content:)
Creates an instance that can perform programmatic scrolling of its child scroll views.
Declaration
nonisolated init(@ContentBuilder content: @escaping (ScrollViewProxy) -> Content)Parameters
- content:
The reader’s content, containing one or more scroll views. This content builder receives a Scrollviewproxy instance that you use to perform scrolling.