There is an issue where the SearchBar object is being called from both Material search_anchor and IconPicker itself.
Fix: In the imports set "import '../IconPicker/searchBar.dart' as sb;". The sb gives it an alias. Do this in the Default, Adaptive and FullScreenDialog dart files and then all instances of SearchBar in those files, replace them with sb.SearchBar.
There is an issue where the SearchBar object is being called from both Material search_anchor and IconPicker itself.
Fix: In the imports set "import '../IconPicker/searchBar.dart' as sb;". The sb gives it an alias. Do this in the Default, Adaptive and FullScreenDialog dart files and then all instances of SearchBar in those files, replace them with sb.SearchBar.