How to place container in bottom of the screen in Flutter?

This Article is posted by seven.srikanth at 11/1/2022 2:34:00 PM



<p>Here is an example code which can help you to place the container at the bottom on the screen.</p> <p>![](https://fluttercentral.com/Uploads/909f7a9c-a843-4ea9-941b-39d1cbdc2d5d.jpgwidth="50%height="auto](</p> <p>Here is the code from main.dart file.</p> <p id="4ec9b0;](MyApp());" color:="" color:=>color: #9cdcfe;](args) </p> <p id="9cdcfe;](key" color:= color:="">color: #569cd6;](class color: #4ec9b0;](MyApp color: #569cd6;](extends color: #4ec9b0;](StatelessWidget ); color: #9cdcfe;](@ color: #9cdcfe;](override</p> <p>color: #4ec9b0;](Widget color: #dcdcaa;](build(color: #4ec9b0;](BuildContext color: #9cdcfe;](context) { color: #c586c0;](return color: #4ec9b0;](Align( color: #9cdcfe;](alignment: color: #4ec9b0;](FractionalOffset.color: #9cdcfe;](bottomCenter, color: #9cdcfe;](child: color: #4ec9b0;](Container( color: #9cdcfe;](height: color: #b5cea8;](100, color: #9cdcfe;](width: color: #b5cea8;](100, color: #9cdcfe;](decoration: color: #569cd6;](const color: #4ec9b0;](BoxDecoration( color: #9cdcfe;](color: color: #4ec9b0;](Colors.color: #9cdcfe;](amber, ), ), ); } } ` Thanks,Srikanth</p>


Tags: Align, Container,








0 Comments
Login to comment.
Recent Comments