Ingredient

constructor(id: String = UUID.randomUUID().toString(), name: String, isSelected: MutableState<Boolean> = mutableStateOf(false), filePath: String = "file:///android_asset/default-ingredient.png")

Parameters

id

UUID to parse it to the LazyVerticalGrid

name

given by the user or added from the recipes, can have typos or be in plural

isSelected

which ingredients to use for the query, cannot be more than 10

filePath

of the image. There will be an algorithm to map the word to the closest image