DrawOnWidget constructor
DrawOnWidget({
- required List<
List< ? correctAnswerCoordinates,Offset> > - required Widget? widget,
- required ValueChanged<
double> ? getXaxis, - required ValueChanged<
double> ? getYaxis, - bool? showPointer = false,
- required dynamic onTap()?,
- required Color? lineColor,
- required Color? pointsColor,
- double lineStroke = 4,
- double pointStroke = 8,
Draw on widget will let you to draw on the given widget and get the coordinates for it.
Implementation
DrawOnWidget({
required this.correctAnswerCoordinates,
required this.widget,
required this.getXaxis,
required this.getYaxis,
this.showPointer = false,
required this.onTap,
required this.lineColor,
required this.pointsColor,
this.lineStroke = 4,
this.pointStroke = 8,
});