I try to make a word game for test purpose. I already make the puzzle using listview builder. But didnot able to make the selectable lines.
Asked
Active
Viewed 109 times
1 Answers
0
You can use CustomPaint in a stack with your other widget:
CustomPaint(
foregroundPainter: LinesPainter(),
),
Then in your lines painter you can use:
void drawRect (
Rect rect,
Paint paint
)
to draw a filled transparent rectangle between pointer down and current pointer

Andreas Toresäter
- 530
- 3
- 19