Closed joelcho closed 5 years ago
I want the length (width) of the progress bar to be the same as the width of the current parent widget, but I can't do this because 'width' is @required.
How can I do that?
Forgive me for being a recruit.
You will have to get the size of your parent first, after that rebuild the widget:
https://medium.com/@diegoveloper/flutter-widget-size-and-position-b0a9ffed9407
I want the length (width) of the progress bar to be the same as the width of the current parent widget, but I can't do this because 'width' is @required.
How can I do that?
Forgive me for being a recruit.