const (
ToastBottomRight ToastPosition = iota
ToastBottomLeft
ToastBottomCenter
ToastTopRight
ToastTopLeft
ToastTopCenter
)类型 ToastPosition
API 文档由 Go 源码生成,内容为英文。
type ToastPosition uint8ToastPosition is the corner or edge of the viewport a toast stack grows from. Toasts stack away from it: up from a bottom position, down from a top one.