title: Pop up Dialog box on Pressing button in flutter
body: <p>I have a button by clicking on which I want a dialog box to pop up and I did that by using showDialog and calling my dialog method there. But I don't know how should I use the image text and score in a line .?</p>
  <p>The image is provided and the code also suggests to me, please?</p>
  <p>This is where is used showDialog</p>
  <pre><code>      Row(
            children: &lt;Widget&gt;[
              RaisedButton(
                padding: EdgeInsets.symmetric(horizontal: 30.0, vertical: 15.0),
                textColor: Colors.black,
                child: Text(
                  'LeaderBoard',
                  style: TextStyle(
                    fontSize: 20.0,
                    fontWeight: FontWeight.bold,
                  ),
                ),
                onPressed: () {
  
                  showDialog(
                      context: context,
                      builder: (BuildContext context) =&gt; leadDialog);
                },
                shape: RoundedRectangleBorder(
                    borderRadius: BorderRadius.circular(10.0)),
             ),
  
  </code></pre>
  <p>My Dialog mmethod</p>
  <pre><code>import 'package:flutter/material.dart';
  
  Dialog leadDialog = Dialog(
    child: Container(
      height: 300.0,
      width: 360.0,
      color: Colors.white,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.end,
        children: &lt;Widget&gt;[
          Padding(
            padding: EdgeInsets.all(15.0),
            child: Text(
              'Choose from Library',
              style:
              TextStyle(color: Colors.black, fontSize: 22.0),
            ),
          ),
        ],
      ),
    ),
  );
  </code></pre>
  <p>The expected result is</p>
  <p><a href="https://i.stack.imgur.com/ezNvo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ezNvo.png" alt="enter image description here" /></a></p>