类型 SelectItem
API 文档由 Go 源码生成,内容为英文。
type SelectItem struct {
ID ui.ID
Label string
Value string
Hint string
Selected bool
Disabled bool
// Icon, when it has any geometry, is painted before the label.
Icon ui.Icon
}SelectItem describes one stable value in the open popup.