dismiss
Also written: @Environment(\.dismiss), dismiss()
An action read from the environment that closes the current screen when called, like tapping Back. The detail screen calls it after adding a drink to the order.
Also written: @Environment(\.dismiss), dismiss()
An action read from the environment that closes the current screen when called, like tapping Back. The detail screen calls it after adding a drink to the order.