SearchResultItem constructor
const
SearchResultItem(
- String searchKey, {
- Widget? child,
- VoidCallback? onSelected,
Creates a macOS-styled item to show in the search results of a search field.
Can be further customized via its child property.
Implementation
const SearchResultItem(
this.searchKey, {
this.child,
this.onSelected,
});