title: Pass data from child widget to the parent widget
body: <p>I have a Dashboard Widget whose body is like this:</p>
  <p>I want to pass data from the child widget DashboardGrid(Check at the end of the Code block) to this parent widget. How do I do it?</p>
  <pre class="lang-dart prettyprint-override"><code>    body: Column(
        children: &lt;Widget&gt;[
        SizedBox(
        height: 20,
      ),
          Padding(
            padding: EdgeInsets.only(left: 16, right: 16),
            child: Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: &lt;Widget&gt;[
                Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: &lt;Widget&gt;[
                    Text(
                      &quot;Categories&quot;,
                      style:  TextStyle(
                              color: Colors.white,
                              fontSize: 20,
                              fontWeight: FontWeight.bold)),
       
                  ],
                ),
                IconButton(
                  alignment: Alignment.topCenter,
                  icon: new Icon(Icons.search, color: Theme.of(context).hintColor,),
                  onPressed: () {},
                )
              ],
            ),
          ),
          SizedBox(
            height: 40,
          ),
  DashboardGrid(),
  ])
  </code></pre>