title: How to insert flutter rating bar inside a ListTile
body: <p>I'm new on Flutter and I'm practicing trying to build UIs. I wanna achieve this:</p>
  <p><a href="https://i.stack.imgur.com/Cek95.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cek95.png" alt="pic" /></a></p>
  <p>I'm using <a href="https://github.com/sarbagyastha/flutter_rating_bar" rel="nofollow noreferrer">flutter_rating_bar</a> for rating stars but I can't understand how to add this widget inside a ListTile; I already have the user vote I just need to show it with stars.</p>
  <pre><code>return Container(
          child: ListView.builder(
              itemCount: 5,
              shrinkWrap: true,
              itemBuilder: (context, index) {
                return Card(
                  child: ListTile(
                    leading: FlutterLogo(size: 72.0),
                    title: Text(title),
                    
                    subtitle: Text(text),
                    trailing: Icon(Icons.more_vert),
                    isThreeLine: true,
                  ),
                );
              }));
  </code></pre>
  <p>This is the code I'm using but when I try to add for example:</p>
  <pre><code>RatingBarIndicator(
      rating: userRat,
      itemBuilder: (context, index) =&gt; Icon(
           Icons.star,
           color: Colors.amber,
      ),
      itemCount: 5,
      itemSize: 50.0,
      direction: Axis.vertical,
  )
  </code></pre>
  <p>I receive the error:</p>
  <blockquote>
  <p>Positional arguments must occur before named arguments. Try moving all
  of the positional arguments before the named
  arguments.dart(positional_after_named_argument)</p>
  </blockquote>
  <p>I'm not also able to poistion the user image at bottom with user's name at right. Can anyone explain me why this error occurs and give me a code example to understand please?</p>