title: using onTap (Inkwell) to open/preview a Card
body: <p><a href="https://i.stack.imgur.com/DnFok.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DnFok.png" alt="enter image description here"></a></p>
  
  <p>Im trying to use onTap in Inkwell to open/preview an existing Card but unsure how to do this, for now I just have it printing 'hello'</p>
  
  <pre><code>  body: Container(
      color: Colors.indigo,
      child: Column(
        children: &lt;Widget&gt;[
          Flexible(
            child: FirebaseAnimatedList(
              query: databaseReference,
              itemBuilder: (
                  _, DataSnapshot snapshot,
                  Animation&lt;double&gt; animation, int index) {
                return Card(
                  child: Padding(
                    padding: const EdgeInsets.all(10.0),
                    child: InkWell(
                      child: ListTile(
                        title: Text(
                            boardMessages[index].subject,
                        style: TextStyle(fontWeight: FontWeight.bold
                        ),),
                      ),
                      onTap: (){
                        print('hello');
                      },
                    ),
                  ),
                );
              },
             ),
            ),
           ],
          ),
  </code></pre>
  
  <p>EDIT: I know how to do it using Full Screen Page thanks to the docs provided, how would I do this with a Dialog? Much appreciated</p>