title: Flutter add button without margin
body: <p>I am trying to implement a button without margin. </p>
  
  <p>My code is :</p>
  
  <pre><code>  @override
    Widget build(BuildContext context) {
      return new AppState(
        child: new Scaffold(
  
            appBar: AppBar(
              backgroundColor: Color(0xFF031e39),
              title: Text("MY APP"),
            ),
            body:
  
            ButtonTheme(
              buttonColor: Color(0xFF031e39),
              minWidth: double.infinity,
              child: FlatButton(
                color: Color(0xFF81A483),
                onPressed: () {
                  launchSearch();
                },
                child: Text('Search',style: TextStyle(color: Colors.white),),
              ),
            )
        ),
      );
    }
  </code></pre>
  
  <p>The result is :</p>
  
  <p><a href="https://i.stack.imgur.com/HykqR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HykqR.png" alt="enter image description here"></a></p>
  
  <p>I have tried all different ways but I cannot figure out a solution so the button has not margin.</p>
  
  <p>If I put a widget on top of my button in a column I get the same results:</p>
  
  <p><a href="https://i.stack.imgur.com/sxETG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sxETG.png" alt="enter image description here"></a></p>
  
  <p>How can I have a FlatButton without any margin ?</p>