searchFn Function with parameters: keyword, items returning List<int> as the list of indexes for the items to be displayed.
final Function? searchFn;