Hello Developes in this tutorial we will discuss about how you can decorate container in flutter .
|1||What is Container|
|2||Box decoration properties|
|3||Border radius with only|
Container is assume as empty box where you can put your items in the form of widgets like Text(),Column(),Row() and other widgets . Using container we can add padding , margin and much more with box-decoration.
Box decoration comes with several properties like color,image,border,borderRadius,box shadow,gradient,boxshape .
Container widget can be used by any child or within children of Column() and Row(),
code for container : Copy
To applying border-radius on the side specifies we can implement by using BorderRadius.only()
code for border radius: Copy