In my Flutter application, I want to connect two arbitrary boxes with a line.
The example shows two MyBoxes in a GridView
.
I want to swipe from MyBox on the left to MyBox on the right and draw a line in the space between them to show the connection.
However, I couldn't find a way to draw lines beyond the widget border.
Is there a way to do this with drawing tricks like CustomPainter, or with changes to the widget's structure?