# 📚 Official Books

**URL:** https://forums.kodeco.com/c/books/6.md?page=40

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

**Page:** 41

---

## [Chapter 2, referencing variables](https://forums.kodeco.com/t/chapter-2-referencing-variables/153781)

<div class="topic-metadata">

**Author:** [@jbuttah](https://forums.kodeco.com/u/jbuttah)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 11:35pm UTC](https://forums.kodeco.com/t/chapter-2-referencing-variables/153781 "2021-10-18T23:35:38Z")

</div>

In the class “\_RecipeDetailState” in the text widget, the variable is “widget.recipe.label” I don’t understand why widget is necessary in the variable reference… why can’t you just use recipe.label?

---

## [Best practices for folder structure](https://forums.kodeco.com/t/best-practices-for-folder-structure/153299)

<div class="topic-metadata">

**Author:** [@sarav1n](https://forums.kodeco.com/u/sarav1n)\
**Replies:** 8\
**Last updated:** [October 18, 2021, 4:12pm UTC](https://forums.kodeco.com/t/best-practices-for-folder-structure/153299 "2021-10-18T16:12:56Z")

</div>

Hi Folks, What are some good best practices to structure project folders for midsize projects. In the apprentice book networking for example has a separate folder with corresponding models within it. Does it make sense…

---

## [Real world android](https://forums.kodeco.com/t/real-world-android/153736)

<div class="topic-metadata">

**Author:** [@doer](https://forums.kodeco.com/u/doer)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 3:20pm UTC](https://forums.kodeco.com/t/real-world-android/153736 "2021-10-18T15:20:59Z")

</div>

Hello, So I am learning real world android app so far everything is good. My question is regarding how they created the logging module. Don’t get me wrong I can create a module. However the way they created the module …

---

## [Material & Cupertino widget](https://forums.kodeco.com/t/material-cupertino-widget/153607)

<div class="topic-metadata">

**Author:** [@lanzoninicola](https://forums.kodeco.com/u/lanzoninicola)\
**Replies:** 4\
**Last updated:** [October 18, 2021, 1:45pm UTC](https://forums.kodeco.com/t/material-cupertino-widget/153607 "2021-10-18T13:45:50Z")

</div>

Building the recipe app we are using the Material App widget. How can I support the IOS devices also with the Cupertino widget? The Material App widget wrap all the children widget. How can I detect the device and appl…

---

## [Widget name with lowercase letter](https://forums.kodeco.com/t/widget-name-with-lowercase-letter/153606)

<div class="topic-metadata">

**Author:** [@lanzoninicola](https://forums.kodeco.com/u/lanzoninicola)\
**Replies:** 2\
**Last updated:** [October 18, 2021, 11:53am UTC](https://forums.kodeco.com/t/widget-name-with-lowercase-letter/153606 "2021-10-18T11:53:10Z")

</div>

This is not the very first time using Flutter and I used to write the widget name starting with an uppercase letter. Why the “buildRecipeCard” widget is written in lowercase (chapter 2)? Some convention to consider ? T…

---

## [Typo in code output for example in Exception handling chapter](https://forums.kodeco.com/t/typo-in-code-output-for-example-in-exception-handling-chapter/139361)

<div class="topic-metadata">

**Author:** [@alexhuiculescu](https://forums.kodeco.com/u/alexhuiculescu)\
**Replies:** 2\
**Last updated:** [October 18, 2021, 9:31am UTC](https://forums.kodeco.com/t/typo-in-code-output-for-example-in-exception-handling-chapter/139361 "2021-10-18T09:31:37Z")

</div>

At the following link: https://www.raywenderlich.com/books/kotlin-coroutines-by-tutorials/v2.0/chapters/8-exception-handling The first example has the following output: 1. Exception created via launch coroutine Except…

---

## [6.6 Becoming a Swift collection - code snippet](https://forums.kodeco.com/t/6-6-becoming-a-swift-collection-code-snippet/153668)

<div class="topic-metadata">

**Author:** [@tibebit](https://forums.kodeco.com/u/tibebit)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 9:29am UTC](https://forums.kodeco.com/t/6-6-becoming-a-swift-collection-code-snippet/153668 "2021-10-18T09:29:28Z")

</div>

Hi, I wonder if there is a typo in the code snippet that adopts the “Collection” protocol. The implementation of the “less-than” operator turns into an error requiring me to adopt the Equatable protocol. Is the guard st…

---

## [Colour wont change for Widgets](https://forums.kodeco.com/t/colour-wont-change-for-widgets/153199)

<div class="topic-metadata">

**Author:** [@nedlington91](https://forums.kodeco.com/u/nedlington91)\
**Replies:** 3\
**Last updated:** [October 18, 2021, 4:51am UTC](https://forums.kodeco.com/t/colour-wont-change-for-widgets/153199 "2021-10-18T04:51:48Z")

</div>

I’m working through the Flutter apprentice chapter 1. My Widget colour wont change from blue to grey in the IOS simulator. does anyone know why? import ‘package:flutter/material.dart’; void main() { runApp(Recipieapp(…

---

## [Ch11 Property wrappers](https://forums.kodeco.com/t/ch11-property-wrappers/153522)

<div class="topic-metadata">

**Author:** [@og1](https://forums.kodeco.com/u/og1)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 1:57am UTC](https://forums.kodeco.com/t/ch11-property-wrappers/153522 "2021-10-18T01:57:44Z")

</div>

Hi @audrey Hope this post finds you well :slight\_smile: Can I please ask you to explain in other words (if time allows, with an example would be great) your following sentence (page 280)? projectedValue is … or a proj…

---

## [Help setting up a new project using terminal (CLOSED)](https://forums.kodeco.com/t/help-setting-up-a-new-project-using-terminal-closed/153548)

<div class="topic-metadata">

**Author:** [@carlstep333](https://forums.kodeco.com/u/carlstep333)\
**Replies:** 6\
**Last updated:** [October 17, 2021, 8:59pm UTC](https://forums.kodeco.com/t/help-setting-up-a-new-project-using-terminal-closed/153548 "2021-10-17T20:59:53Z")

</div>

So, I’m on section 2 - Hello, Flutter and followed the instructions for creating a project using terminal. What I get doesn’t seem to create the full project. not exactly sure, but the project seems to set-up a Java proj…

---

## [Exception thrown using Chapter 12's final project, 2nd edition](https://forums.kodeco.com/t/exception-thrown-using-chapter-12s-final-project-2nd-edition/153487)

<div class="topic-metadata">

**Author:** [@gfg\_mobile](https://forums.kodeco.com/u/gfg_mobile)\
**Replies:** 1\
**Last updated:** [October 17, 2021, 10:05am UTC](https://forums.kodeco.com/t/exception-thrown-using-chapter-12s-final-project-2nd-edition/153487 "2021-10-17T10:05:22Z")

</div>

======== Exception caught by widgets library ======================================================= The following \_CastError was thrown building FutureBuilder\<Response\<Result\<APIRecipeQuery\>\>\>(dirty, state: \_FutureBuild…

---

## [Flutter upgrade errors - see screen shots](https://forums.kodeco.com/t/flutter-upgrade-errors-see-screen-shots/153441)

<div class="topic-metadata">

**Author:** [@lc0815](https://forums.kodeco.com/u/lc0815)\
**Replies:** 1\
**Last updated:** [October 17, 2021, 7:16am UTC](https://forums.kodeco.com/t/flutter-upgrade-errors-see-screen-shots/153441 "2021-10-17T07:16:59Z")

</div>

Hello there, while on chapter 3 I upgraded flutter to the latest version and started getting weird errors as shown on the screen shots, can you me on how to get rid of these errors, thanks LC

---

## [APNS with Vapor, in the .production environment](https://forums.kodeco.com/t/apns-with-vapor-in-the-production-environment/152505)

<div class="topic-metadata">

**Author:** [@jakesiciliano](https://forums.kodeco.com/u/jakesiciliano)\
**Replies:** 2\
**Last updated:** [October 16, 2021, 10:03pm UTC](https://forums.kodeco.com/t/apns-with-vapor-in-the-production-environment/152505 "2021-10-16T22:03:31Z")

</div>

Hello! I followed the guide, “Sending Push Notifications With Vapor” (https://www.raywenderlich.com/11238593-sending-push-notifications-with-vapor). I am looking to switch the environment to .production from .sandbox in…

---

## [Chapter 5: inner workings](https://forums.kodeco.com/t/chapter-5-inner-workings/153328)

<div class="topic-metadata">

**Author:** [@helvecio](https://forums.kodeco.com/u/helvecio)\
**Replies:** 7\
**Last updated:** [October 16, 2021, 9:34pm UTC](https://forums.kodeco.com/t/chapter-5-inner-workings/153328 "2021-10-16T21:34:07Z")

</div>

Hey, there. I’m currently on chapter 5 and realized there is a lot going on ‘under the hood’: the app pushes info from some file, renders the card somewhere else e displays it in the screen explorer, for instance. I wond…

---

## [Dart VM vs native code](https://forums.kodeco.com/t/dart-vm-vs-native-code/153420)

<div class="topic-metadata">

**Author:** [@ymastorakis](https://forums.kodeco.com/u/ymastorakis)\
**Replies:** 2\
**Last updated:** [October 16, 2021, 5:19pm UTC](https://forums.kodeco.com/t/dart-vm-vs-native-code/153420 "2021-10-16T17:19:19Z")

</div>

Greetings Flutter masters and apprentices. There is something that is not very clear to me after reading the first chapter of Flutter Apprentice. It is stated that Dart is compiled to native ARM/x86 code, but also later …

---

## [Chapter 3: Image Loading Example](https://forums.kodeco.com/t/chapter-3-image-loading-example/153319)

<div class="topic-metadata">

**Author:** [@rolovee](https://forums.kodeco.com/u/rolovee)\
**Replies:** 1\
**Last updated:** [October 16, 2021, 5:16am UTC](https://forums.kodeco.com/t/chapter-3-image-loading-example/153319 "2021-10-16T05:16:10Z")

</div>

Hello, I’m wondering how the starting code in collectionView(\_:cellForItemAt:) is executing on the main UI thread? Is it slow because it is running on the main UI thread by default? I thought for that to happen it neede…

---

## [Flutter Newbie saying hello](https://forums.kodeco.com/t/flutter-newbie-saying-hello/122210)

<div class="topic-metadata">

**Author:** [@mrwmrutski](https://forums.kodeco.com/u/mrwmrutski)\
**Replies:** 13\
**Last updated:** [October 15, 2021, 9:30pm UTC](https://forums.kodeco.com/t/flutter-newbie-saying-hello/122210 "2021-10-15T21:30:00Z")

</div>

Just followed the link and this is my first experience with Flutter. So I will be looking here for Q/A\`s, just saying Hello !! – cool being the first one here !! very quiet. Peace…

---

## [Trouble understanding how to learn how certain properties and classes work together](https://forums.kodeco.com/t/trouble-understanding-how-to-learn-how-certain-properties-and-classes-work-together/153163)

<div class="topic-metadata">

**Author:** [@jefff9511](https://forums.kodeco.com/u/jefff9511)\
**Replies:** 5\
**Last updated:** [October 15, 2021, 8:53pm UTC](https://forums.kodeco.com/t/trouble-understanding-how-to-learn-how-certain-properties-and-classes-work-together/153163 "2021-10-15T20:53:37Z")

</div>

I am having trouble understanding how to learn how certain properties and classes work together. Over time, I guess I’ll memorize them … but for example … How should I learn that decoration uses a BoxDecoration vs a Dec…

---

## [Error opening demo flutter\_app on my phone](https://forums.kodeco.com/t/error-opening-demo-flutter-app-on-my-phone/153088)

<div class="topic-metadata">

**Author:** [@stvu](https://forums.kodeco.com/u/stvu)\
**Replies:** 5\
**Last updated:** [October 15, 2021, 9:15am UTC](https://forums.kodeco.com/t/error-opening-demo-flutter-app-on-my-phone/153088 "2021-10-15T09:15:21Z")

</div>

I am new in the Flutter word, just started reading book Flutter Apprentice and coding along. Being stuck in Chapter 1 - 1.7 Trying it out - The template project. I have tried to run demo fluter\_app on my mobile phone (…

---

## [Chapter 3: Stack vs Column](https://forums.kodeco.com/t/chapter-3-stack-vs-column/153171)

<div class="topic-metadata">

**Author:** [@jefff9511](https://forums.kodeco.com/u/jefff9511)\
**Replies:** 1\
**Last updated:** [October 15, 2021, 2:26am UTC](https://forums.kodeco.com/t/chapter-3-stack-vs-column/153171 "2021-10-15T02:26:04Z")

</div>

In Card2, we positioned elements using a Stack. In Card3, we did it using Column. Was there a reason we did it differently or was it just to teach us 2 different methods?

---

## [Chapter 8.1 help with .assign(to:)](https://forums.kodeco.com/t/chapter-8-1-help-with-assign-to/153063)

<div class="topic-metadata">

**Author:** [@danielpressner](https://forums.kodeco.com/u/danielpressner)\
**Replies:** 1\
**Last updated:** [October 14, 2021, 10:42am UTC](https://forums.kodeco.com/t/chapter-8-1-help-with-assign-to/153063 "2021-10-14T10:42:52Z")

</div>

When I add the line to func bindMainView() - .assign(to: &imagePreview) I get the following error: Cannot convert value of type ‘UIImage?’ to expected argument type ‘Published\<UIImage\>.Publisher’ I’ve gone over the co…

---

## [For The Flutter Apprentice - My small tit bit of discovery](https://forums.kodeco.com/t/for-the-flutter-apprentice-my-small-tit-bit-of-discovery/152695)

<div class="topic-metadata">

**Author:** [@aifx4intel](https://forums.kodeco.com/u/aifx4intel)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 5:39pm UTC](https://forums.kodeco.com/t/for-the-flutter-apprentice-my-small-tit-bit-of-discovery/152695 "2021-10-12T17:39:42Z")

</div>

Hi there fellow Flutter Apprentice’s, I have come across something I feel I should share (the more experienced Flutter’ers I am sure will either recommend this in the commentary, so I guess wait until there is a heart or…

---

## [Why does field injection work with lateinit var but not with var?](https://forums.kodeco.com/t/why-does-field-injection-work-with-lateinit-var-but-not-with-var/151546)

<div class="topic-metadata">

**Author:** [@mlasa](https://forums.kodeco.com/u/mlasa)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 2:13pm UTC](https://forums.kodeco.com/t/why-does-field-injection-work-with-lateinit-var-but-not-with-var/151546 "2021-10-11T14:13:34Z")

</div>

Hi all! In Chapter 7.2, field injection is performed in SequencePresenterImpl with: @Inject lateinit var sequenceModel: SequenceGenerator\<Int\> Later, in Chapter 9.3 a similar thing is done with SequenceViewBinderImpl: …

---

## [Card Not Showing Chapter 5 Building Recipes of the Day](https://forums.kodeco.com/t/card-not-showing-chapter-5-building-recipes-of-the-day/152158)

<div class="topic-metadata">

**Author:** [@ericsath](https://forums.kodeco.com/u/ericsath)\
**Replies:** 6\
**Last updated:** [October 11, 2021, 6:48am UTC](https://forums.kodeco.com/t/card-not-showing-chapter-5-building-recipes-of-the-day/152158 "2021-10-11T06:48:43Z")

</div>

Hi, i am already following code from the book, but i can’t find why i am getting an error like this Please anyone can help me find the error, thanks This is the code

---

## [Augmented Reality in Advertising](https://forums.kodeco.com/t/augmented-reality-in-advertising/152204)

<div class="topic-metadata">

**Author:** [@alice7890](https://forums.kodeco.com/u/alice7890)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 6:05am UTC](https://forums.kodeco.com/t/augmented-reality-in-advertising/152204 "2021-10-11T06:05:22Z")

</div>

Augmented reality is touching the sky with massive experiences and imaginative 3D content. Many industries have adopted this technology. Soon companies from advertising will also take up augmented reality technology in a…

---

## [How to add/remove renderable objects while using Heap for textures (Chapter 15 GPU Driven Rendering)](https://forums.kodeco.com/t/how-to-add-remove-renderable-objects-while-using-heap-for-textures-chapter-15-gpu-driven-rendering/134284)

<div class="topic-metadata">

**Author:** [@miraco](https://forums.kodeco.com/u/miraco)\
**Replies:** 9\
**Last updated:** [March 19, 2021, 3:14pm UTC](https://forums.kodeco.com/t/how-to-add-remove-renderable-objects-while-using-heap-for-textures-chapter-15-gpu-driven-rendering/134284 "2021-03-19T15:14:06Z")

</div>

When we use Heap to store all the textures of all the models rendered in a scene, creating the heap only once and load it to the GPU for rendering, what should we do if we want to add another model to the scene later? It…

---

## [Completed the book and all tutorials?](https://forums.kodeco.com/t/completed-the-book-and-all-tutorials/152180)

<div class="topic-metadata">

**Author:** [@realityexpander](https://forums.kodeco.com/u/realityexpander)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 4:36am UTC](https://forums.kodeco.com/t/completed-the-book-and-all-tutorials/152180 "2021-10-11T04:36:18Z")

</div>

Im just wondering if there is anyone that has completed the book and all tutorials? Im currently on section 5 and already found many typos and some very rough patches that are not explained well or at all, or sections th…

---

## [Error "RenderIndexedSemantics object was given an infinite size during layout."](https://forums.kodeco.com/t/error-renderindexedsemantics-object-was-given-an-infinite-size-during-layout/151923)

<div class="topic-metadata">

**Author:** [@p4nd4v](https://forums.kodeco.com/u/p4nd4v)\
**Replies:** 4\
**Last updated:** [October 10, 2021, 3:43pm UTC](https://forums.kodeco.com/t/error-renderindexedsemantics-object-was-given-an-infinite-size-during-layout/151923 "2021-10-10T15:43:13Z")

</div>

The height in GestureDetector is showing infinity, and the code is return GestureDetector( onTap: () { Navigator.push( context, MaterialPageRoute( builder: (context) { return Text…

---

## [Hello all, im newbie from Indonesia](https://forums.kodeco.com/t/hello-all-im-newbie-from-indonesia/152014)

<div class="topic-metadata">

**Author:** [@abintech](https://forums.kodeco.com/u/abintech)\
**Replies:** 2\
**Last updated:** [October 10, 2021, 2:45pm UTC](https://forums.kodeco.com/t/hello-all-im-newbie-from-indonesia/152014 "2021-10-10T14:45:49Z")

</div>

Halo semua :star\_struck:, greting from indonesia I read flutter is a “toolkit” , anyone can explain with analogy what is mean a “toolkit”? Thanks im abin, thanks to read

---

## [When will second edition for advanced git be out?](https://forums.kodeco.com/t/when-will-second-edition-for-advanced-git-be-out/151967)

<div class="topic-metadata">

**Author:** [@hanct](https://forums.kodeco.com/u/hanct)\
**Replies:** 0\
**Last updated:** [October 10, 2021, 9:47am UTC](https://forums.kodeco.com/t/when-will-second-edition-for-advanced-git-be-out/151967 "2021-10-10T09:47:41Z")

</div>

Hi, I learnt that the author is updating the book for 2nd edition. Any idea roughly what date it will be released? Cos the raywenderlich.com page still show the 1st edition

[Previous page](https://forums.kodeco.com/c/books/6.md?page=39)

[Next page](https://forums.kodeco.com/c/books/6.md?page=41)
