categoryIcon function
- String category
Returns the IconData associated with the given app category
.
Implementation
IconData categoryIcon(String category) => category.getUniqueWords.whereValid.map((x) => categoryIcons[x.toLowerCase()]).mostFrequent ?? Icons.category;