0 points

Stack


dashboard

Mon Jun 15 2020 12:34:17 GMT+0000 (UTC)

Posted by @pratik.gtm #dart

Center(
          child: new Container(
            padding: const EdgeInsets.all(8.0),
            height: 500.0,
            width: 500.0,
            child: new Stack(
              overflow: Overflow.visible,
              children: <Widget>[
                new Icon(Icons.pages, size: 36.0, color: Colors.red),
                new Positioned(
                  left: 20.0,
                  child: new Icon(Icons.pages, size: 36.0, color: Colors.green),
                ),
 
              ],
            ),
          ),
    )
content_copy Copy

https://www.freewebmentor.com/questions/does-flutter-support-negative-margin