What's equivalent of SwiftUI's `GeometryReader` fo...
# compose
j
What's equivalent of SwiftUI's
GeometryReader
for getting the dimensions of the screen/window?
z
Depending on your use case,
WithConstraints
might be what you’re looking for
Otherwise, you can get the
Context
and read the
DisplayMetrics
just like usual in android
j
thanks @Zach Klippenstein (he/him) [MOD], will try that
That did the job, thanks!