# Showing error in code from Chapter 2 (2.4 Building a recipe list)

**URL:** <https://forums.kodeco.com/t/showing-error-in-code-from-chapter-2-2-4-building-a-recipe-list/151675>\
**Category:** Flutter Apprentice\
**Created:** [October 9, 2021, 7:26am UTC](https://forums.kodeco.com/t/showing-error-in-code-from-chapter-2-2-4-building-a-recipe-list/151675 "2021-10-09T07:26:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![p4nd4v](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/p4nd4v/32/81494_2.png) [@p4nd4v](https://forums.kodeco.com/u/p4nd4v)\
**Post date:** [October 9, 2021, 7:26am UTC](https://forums.kodeco.com/t/showing-error-in-code-from-chapter-2-2-4-building-a-recipe-list/151675/1 "2021-10-09T07:26:27Z")

</div>

When entering this code

```auto
// 5
          const SizedBox(
            height: 14.0,
          ),

```

Showing error : Positional arguments must occur before named arguments.  
I don’t know what to do from here. ![Error](https://files.chunter.kodeco.com/original/3X/7/9/79e0c2776242e6dd50432fe8d15d523cd3ec9ca2.jpeg)

---

<div class="post-metadata">

**Author:** ![jomoka](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jomoka/32/109828_2.png) [@jomoka](https://forums.kodeco.com/u/jomoka)\
**Post date:** [October 9, 2021, 7:53am UTC](https://forums.kodeco.com/t/showing-error-in-code-from-chapter-2-2-4-building-a-recipe-list/151675/2 "2021-10-09T07:53:51Z")

</div>

@p4nd4v it looks like you added `SizedBox` widget as an argument of the `Image` widget. Should look something like this instead:

```auto
Column(
        children: <Widget>[
          Image(image: AssetImage(recipe.imageUrl)),
          const SizedBox(height: 14.0,),
          Text(
            recipe.label,
            style: const TextStyle(
              fontSize: 20.0,
              fontWeight: FontWeight.w700,
              fontFamily: 'Palatino',
            ),
          )
        ],
      ),

```

You are missing an additional closing parenthesis for `Image` widget

---

<div class="post-metadata">

**Author:** ![p4nd4v](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/p4nd4v/32/81494_2.png) [@p4nd4v](https://forums.kodeco.com/u/p4nd4v)\
**Post date:** [October 9, 2021, 8:16am UTC](https://forums.kodeco.com/t/showing-error-in-code-from-chapter-2-2-4-building-a-recipe-list/151675/3 "2021-10-09T08:16:26Z")

</div>

Yes it worked, it was a small mistake that I overlooked. Thanks a lot.
