init(reset:)
Creates a view state that’s derived from a gesture with a closure that provides a transaction to reset it.
Declaration
init(reset: @escaping (Value, inout Transaction) -> Void)Parameters
- reset:
A closure that provides a Transaction.
Creates a view state that’s derived from a gesture with a closure that provides a transaction to reset it.
init(reset: @escaping (Value, inout Transaction) -> Void)A closure that provides a Transaction.