# Chapter 11 - \_buildRecipeList uses different types of BuildContext

**URL:** <https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476>\
**Category:** Flutter Apprentice\
**Created:** [January 3, 2022, 12:29pm UTC](https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476 "2022-01-03T12:29:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zwenn](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zwenn/32/102075_2.png) [@zwenn](https://forums.kodeco.com/u/zwenn)\
**Post date:** [January 3, 2022, 12:29pm UTC](https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476/1 "2022-01-03T12:29:38Z")

</div>

Hey there  
in chapter 11 at the end a method called \_buildRecipeList is introduced that takes a kind of custom BuildContext called ‘recipeListContext’.  
This context is used only at the end of that method when returning the \_buildRecipeCard method which itself takes a BuildContext parameter. In other places inside the method the ‘normal’ ‘context’ is used instead.  
Can anyone please explain the differences between those two. Why do we need a ‘special’ ‘recipeListContext’ in the first place?  
Thanks

---

<div class="post-metadata">

**Author:** ![kevindmoore](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kevindmoore/32/109046_2.png) [@kevindmoore](https://forums.kodeco.com/u/kevindmoore)\
**Post date:** [January 5, 2022, 3:48pm UTC](https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476/2 "2022-01-05T15:48:56Z")

</div>

All of these BuildContext parameters are the same thing. I just gave them different names so that you can distinquish between them.

---

<div class="post-metadata">

**Author:** ![zwenn](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zwenn/32/102075_2.png) [@zwenn](https://forums.kodeco.com/u/zwenn)\
**Post date:** [January 6, 2022, 1:42pm UTC](https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476/3 "2022-01-06T13:42:44Z")

</div>

OK. Thanks for your reply. I am still a bit confused as of why you want to distinguish between the two parameters when they are actually the same thing. Just to be clear: recipeListContext and context point to the same object of BuildContext?

---

<div class="post-metadata">

**Author:** ![kevindmoore](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kevindmoore/32/109046_2.png) [@kevindmoore](https://forums.kodeco.com/u/kevindmoore)\
**Post date:** [January 6, 2022, 3:46pm UTC](https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476/4 "2022-01-06T15:46:21Z")

</div>

Yes, they are the same. I agree that it is a bit confusing. I will try and rename them for the next edition.

---

<div class="post-metadata">

**Author:** ![zwenn](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zwenn/32/102075_2.png) [@zwenn](https://forums.kodeco.com/u/zwenn)\
**Post date:** [January 7, 2022, 6:20am UTC](https://forums.kodeco.com/t/chapter-11-buildrecipelist-uses-different-types-of-buildcontext/161476/5 "2022-01-07T06:20:46Z")

</div>

Thanks for the clarification!
