Diego Dotta
 · Fluttering and Flowing

Relative Percentage Width

Hi folks.

Does percentage width work only relative to the whole screen?

I'm trying to create a better progress bar because the default is very limited. And it seems that it doesn't respect its parents' size. Is this a bug or the way FlutterFlow deals with percentage width?

In the example below, the gradient orange bar is 50% of the whole screen, not its parent white container.

4 replies