How to get padding values(top, end..etc) from `PaddingValues` class? there is no `<http://paddingVal...
a
How to get padding values(top, end..etc) from
PaddingValues
class? there is no
<http://paddingValues.top|paddingValues.top>
getter!
f
Copy code
paddingValues.calculateTopPadding()
For start, end, left, and right padding you need to pass a
LayoutDirection
, you can use
LocalLayoutDirection.current
for that
a
Yah it's works, but I wonder why there is not getter instead of fun here 🤔?