Is there a reason for building a function to return the Recipe Card (buildRecipeCard) instead of creating a stateless Widget to render the card?
I’m trying to first read the chapter, build it myself, and compare my code to the example to better understand the concept.
Following my flow, I wrote a widget dedicated to render the RecipeCard by passing the required values to the constructor.
Did I get it wrong?