Let’s take a look at what you can do to make your Flutter containers pretty. The idea is that I’ll fill this post with more examples as I go so right now we got one example of a what I consider a pretty Container which has shadows around it and rounded borders in grey colors …
Category Archives: Code Sample
Set Margin to Widget in Flutter
This is how to set top margin: In a similar way you set the bottom margin like so: To set the left or right margin simply just change top to left or right inside the EdgeInsets.only function. Set the left margin Set the right margin To set margin for all sides use the .all