buildFreeLines method
Implementation
Widget buildFreeLines(BuildContext context) {
return GestureDetector(
onPanStart: onPanStart,
onPanUpdate: onPanUpdate,
onPanEnd: onPanEnd,
child: RepaintBoundary(
child: Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
alignment: Alignment.topLeft,
color: Colors.transparent,
child: CustomPaint(
painter: LinePainter(lines)
)
)
)
);
}