title: How can i make a list and click on item to navigate to a new route
body: <p>I know this code only displays title and i want to make a onTap method to navigate to a new route, but this is how fare i made it, any help, hint, tip, even shaming me for how stupid i am would be very much appreciated.
  Edit: I did posted the whole code because something is going wrong even after help that i got here. maybe is a syntax problem or maybe i am just too stupid</p>
  
  <pre><code>Widget build(BuildContext context) {
  return new Scaffold(
    body: new ListView.builder(
      itemCount: data == null ? 0 : 10,
      itemBuilder: (BuildContext context, int index){
        return new Card(
          child: new ListTile(
              onTap: _onTapped,
              title : new Text(data[index]["title"]),
          ),
        );
      },
    ),
  );
  </code></pre>
  
  <p>}
  }</p>