I’m developing a custom layout component (a `Table`) and now I want to draw lines between rows and c...
o
I’m developing a custom layout component (a
Table
) and now I want to draw lines between rows and columns using measures I’ve calculated inside Layout code. How do I do it? Do I have to add artificial components for each line, lay them out and then draw? Or can I somehow feed data after measurements to something like
drawBehind
?
Or should I store layout data in some mutable state outside of
Layout
and populate it from
Layout
and read inside
drawBehind
?
m
You can add a composable for that, and draw it many times