SearchableItem constructor
const
SearchableItem({})
Creates a new SearchableItem instance.
id
- Unique identifier for the item
name
- Display name of the item
icon
- Optional icon/emoji for the item
subtitle
- Optional subtitle/description
searchData
- Optional additional data for search
data
- Optional custom data object
Implementation
const SearchableItem({
required this.id,
required this.name,
this.icon,
this.subtitle,
this.searchData,
this.data,
});