title: Flutter || make elements inside a border
body: <p>In my flutter project I want to make the images and the text &quot;See all&quot; inside a border and I don't know how. I don't want a border for the hall page I want it just for the elements</p>
  <p>This is my page :</p>
  <p><a href="https://i.stack.imgur.com/2Kt6D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Kt6D.png" alt="enter image description here" /></a></p>
  <p>This is my code :</p>
  <pre><code>Container(
                          child: Column(
                            crossAxisAlignment: CrossAxisAlignment.center,
                            children: [
                              const SizedBox(height: 30),
                              Padding(
                                padding: const EdgeInsets.all(10),
                                child: Row(
                                  children: &lt;Widget&gt;[
                                    Column(
                                      crossAxisAlignment: CrossAxisAlignment.end,
                                      children: [              
                                          child: Text(&quot;Voir tous&quot;,
                                            style: TextStyle(
                                              color: Color(0xff135888),
                                              fontWeight: FontWeight.bold,
                                              fontSize: MediaQuery.of(context).size.width * 0.03,
                                            ),),
                                        SizedBox(
                                            width : MediaQuery.of(context).size.width * 3,
                                            child: Divider(
                                            color: Color(0xffD1D1D1),
                                            height: 10,
                                            thickness: 1,
                                            indent: 2,
                                            endIndent: 2,
                                          ),
                                        ),
                                      ],
                                    ),
                                  ],
                                ),
                              ),//Padding
                                Expanded(
                                child: GridView.count(
                                  physics: NeverScrollableScrollPhysics(),
                                  crossAxisCount: 3,
                                  mainAxisSpacing: 15,
                                  shrinkWrap: false,
                                  padding: const EdgeInsets.all(10),
                                  children: [
                                    makeDashboardItem(
                                        &quot;smart devices&quot;, &quot;images/smarts.png&quot;, 0),
                                    makeDashboardItem(
                                        &quot;Surveillance&quot;, &quot;images/cameras.png&quot;, 1),
                                  ],
                                ),
                              ),//Expanded
                            ],
                          ),
                        ),  
  </code></pre>