SelectAreaWidget constructor

SelectAreaWidget({
  1. @required List<List<Offset>>? correctAnswerCoordinates,
  2. @required Widget? widget,
  3. @required ValueChanged<double>? getXaxis,
  4. @required ValueChanged<double>? getYaxis,
  5. @required dynamic onTap()?,
  6. bool? isSelectable = true,
  7. bool? showPointer = false,
  8. @required Color? lineColor,
  9. @required Color? pointsColor,
})

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,
});