This value acts as a weight for the width/height of a widget along the main axis.
For instance, setting flex(1.0) on each widget in a layout will create equally sized widgets.
flex(1.0)
https://developer.mozilla.org/en-US/docs/Web/CSS/flex