searchIcon method
this is the initialize function loads all the fonts and generates random colors place it in the main
Implementation
List searchIcon({required String query}) {
List searchResults = flutterIconsData
.where((element) => element['icon_name'].toString().contains(query))
.toList();
return searchResults;
}