How do I wrap text around an image or a composable?
Something similar to FlowTextView in Jetpack Compose.
I am wondering if there is a possibility to leave a certain space free so that if the text is too long it breaks a line and writing continues underneath the free space completely normally without the space being overwritten.
I have this:
I want to do this:
I try to do this with compose for desktop but should be the same as with android jetpack compose.
I do not know if it is, for now, possible but I can't find a way to manipulate the Text
composable.
Found PlaceHolder and TextLayoutInput but i don't know how to use it. Maybe impossible.
Kind of an old question but in Compose you can use the Text Flow dependency. It has support for wrapping text around any composable and it also allows for fun animations!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With