Sizing widgets relative to parent/screen size in Flutter

Share this post

Oftentimes we don’t want our widgets to have a specific width or height, but rather have a width or height that is relative to the parent. For instance, we want a container to take 65% of the screen width or two containers that each taking respectively 70% and 30% of parent width. These are just […]

How to use progress indicators in Flutter

Share this post

There are 2 dedicated widgets in Flutter that can help you display progress in your Flutter apps, namely LinearProgressIndicator and CircularProgressIndicator. You can use both of them just the way you use any other widget and you can position them however you want. How to use LinearProgressIndicator in Flutter A LinearProgressIndicator is basically a progress […]