Illustration by Katerina Limpitsouni

We always want our flutter app to look not only better, but also unique. To accomplish that, we can use decorations in a container in Flutter.

Container widget is one of the main layout widgets in flutter, however, it has many properties that can change its look entirely. One of such properties is decoration.

The decoration property returns another class BoxDecoration.

What does it do?

The BoxDecoration class helps us with variety of ways to draw a box. As a result, we can use decorations to change the look of a container.

There are previous articles on how we've built this News App. You can also check the following link to know in detail. To open just click the right mouse and open in a new tab.

To read more please visit my regular updated articles on Flutter.


This free site is ad-supported. Learn more