title: How to pass data from card to new page in flutter
body: <p>I want to pass the data from card to new page,the data has two names START and at below STOP on card.When the user clicks on card the "START" data should pass to new page.Below is the code</p>
  
  <pre><code>class MyList extends StatefulWidget {
    @override
    _MyListState createState() =&gt; _MyListState();
  }
  
  class _MyListState extends State&lt;MyList&gt; {
    @override
    Widget build(BuildContext context) {
      return new Scaffold(
        appBar: new AppBar(
          title: Text("List"),
        ),
        body: new Container(
          padding: new EdgeInsets.only(left: 5.0,top: 20.0,right: 5.0),
          child: new Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: &lt;Widget&gt;[
              GestureDetector(
                onTap: (){
  
                },
                child: new Card(
                  child:
                  new Column(
                    children: &lt;Widget&gt;[
                      new Text('START'),
                      new Text('STOP')
                    ],
                  ),
                ),
              ),
  </code></pre>
  
  <blockquote>
    <p>New page</p>
  </blockquote>
  
  <pre><code>class MyHomePage extends StatefulWidget {
    @override
    _MyHomePageState createState() =&gt; _MyHomePageState();
  }
  
  class _MyHomePageState extends State&lt;MyHomePage&gt; {
    Widget build(BuildContext context) {
      return new Scaffold(
        appBar: new AppBar(
          title: new Text("New page"),
        ),
        body:Container(
  child:Center(
  new Text('textview'))
  </code></pre>