Hello friends,
My app is similar to a recipe app. I have a data type for ingredients. Each ingredient has a name (ex: eggs, milk, and butter). I display the singular or plural forms of those ingredients and the quantities they are used in (ex: tsp, cups, dozen) in different contexts. I'd like to use this https://pub.dev/packages/pluralize package within a custom function to apply the plural or single as needed, but have no idea how to get started with importing and using it. I'm very new to the world of custom functions. Any help you can give is much appreciated.