类型 ToastSnapshot

API 文档由 Go 源码生成,内容为英文。

type ToastSnapshot struct {
	Title       string
	Description string
	Type        ToastType
	Index       uint16
	Expanded    bool
	Limited     bool
	OffsetY     float32
	SwipeX      float32
	SwipeY      float32
}

ToastSnapshot is the complete caller-owned state painted for one frame. Timing, expiry, swipe interpretation, and stack membership live outside the component.