title: Label(text) at the bottom side of image in flutter
body: <p>I have a custom build widget for grid view, in which i am either sending Icon or image to display along with Text (label). Now when i send icon i can display the test below icon, but when i am trying image i am not sure if the below approach is correct to display text or not, i am trying to put EdgeInsets in the container. I think it might fail due to pixel overload, but in my emulator, it seems to be fine.. Is there any better option for this scenario or the approach I am following is ok? </p>
  
  <pre><code>if (image != null) ...[
                      Container(
                        margin: EdgeInsets.only(top:150.0),
                      ),
                     ] else ...[
                      child  ?? Container(),
                     ],
                    Text('$label',
                    style: TextStyle(
                      color: AppColors.lightBlue,
                      fontSize: 20,
                    ),), 
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/tYd0C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tYd0C.png" alt="enter image description here"></a></p>