You can use the `BoxWithConstraints` widget, which...
# compose
j
You can use the
BoxWithConstraints
widget, which allows you to get information about the size constraints, including the amount of space available. Keep in mind that you will need to compose synchronously, so you will need to show a placeholder until your image loads, and you also need to nicely handle the case where you load an image from the network, and then the window size (and thus available space) changes and you need to do something appropriate (like scale whatever image you have and fetch a new higher/lower resolution one)