SnackbarModifier
struct SnackbarModifier : ViewModifier
Adds a snackbar overlay to a view. Typically used with tier one (root tab views) containing views.
-
Undocumented
Declaration
Swift
init(model: Binding<Snackbar?>)
-
Undocumented
Declaration
Swift
@Binding var model: Snackbar? { get nonmutating set }
-
Undocumented
Declaration
Swift
var active: Bool { get }
-
Undocumented
Declaration
Swift
var backgroundColor: Color { get }
-
Undocumented
Declaration
Swift
var foregroundColor: Color { get }
-
Declaration
Swift
func body(content: Content) -> some View