SelectAreaWidget constructor
SelectAreaWidget({
- required List<
List< ? correctAnswerCoordinates,Offset> > - required Widget? widget,
- required ValueChanged<
double> ? getXaxis, - required ValueChanged<
double> ? getYaxis, - required dynamic onTap()?,
- bool? isSelectable = true,
- bool? showPointer = false,
- required Color? lineColor,
- required Color? pointsColor,
- double lineStroke = 4,
- double pointStroke = 8,
Select Area will give you the, whether the selected point is inside the given points.
Implementation
SelectAreaWidget({
required this.correctAnswerCoordinates,
required this.widget,
required this.getXaxis,
required this.getYaxis,
required this.onTap,
this.isSelectable = true,
this.showPointer = false,
required this.lineColor,
required this.pointsColor,
this.lineStroke = 4,
this.pointStroke = 8,
});