title: what the difference between margin and padding in Container widget using Flutter framework?
body: <pre><code>
  
  
  class app1 extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return (MaterialApp(
          debugShowCheckedModeBanner: false,
          title: 'Hello ',
          home: Material(
            child: Container (
              alignment: Alignment.topCenter ,
              //padding: EdgeInsets.all (30 ),
              margin: EdgeInsets.all(30),
              child: Row(
                children: &lt;Widget&gt; [
                  Text ( 'Hello There ' , style: TextStyle (fontSize: 30 ) ),
                  ],
                ),
            ),
            ),
  
  
  
            )
      );
  
    }
  }
  </code></pre>
  <p><strong>I have a text widget when i apply the margin and after that apply the padding same result ? so what's the different ?</strong> <a href="https://i.stack.imgur.com/NvbDe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NvbDe.png" alt="enter image description here" /></a></p>