You can’t display a toast message directly above a .sheet using just SwiftUI.
To achieve this, you need to create a custom UIWindow. This allows you to set its windowLevel high enough to appear above all other views.
approach:
This way, the toast will appear over everything, including modals and sheets, because it lives in its own window.
P.S. I have a toast library called ToastKit, but at the moment, it does not support UIWindow.