SnackbarState
class SnackbarState
A state object for managing snackbar messages
-
Undocumented
Declaration
Swift
public var binding: Binding<Snackbar?> { get }
-
Show a
Snackbar
with a success messageDeclaration
Swift
public func success(title: String, message: String? = nil)
-
Show a
Snackbar
with an info messageDeclaration
Swift
public func info(title: String, message: String? = nil)
-
Show a
Snackbar
with an error messageDeclaration
Swift
public func error(title: String, message: String? = nil)